diff --git a/src/OpenMesh/Tools/Smoother/SmootherT.cc b/src/OpenMesh/Tools/Smoother/SmootherT.cc index 02f7a2a1..2bb44bd0 100644 --- a/src/OpenMesh/Tools/Smoother/SmootherT.cc +++ b/src/OpenMesh/Tools/Smoother/SmootherT.cc @@ -260,11 +260,11 @@ set_relative_local_error(Scalar _err) // compute bounding box Point bb_min, bb_max; - bb_min = bb_max = mesh_.point(v_it); + bb_min = bb_max = mesh_.point(*v_it); for (++v_it; v_it!=v_end; ++v_it) { - bb_min.minimize(mesh_.point(v_it)); - bb_max.maximize(mesh_.point(v_it)); + bb_min.minimize(mesh_.point(*v_it)); + bb_max.maximize(mesh_.point(*v_it)); }