diff --git a/Surface_mesh_deformation/include/CGAL/Surface_mesh_deformation.h b/Surface_mesh_deformation/include/CGAL/Surface_mesh_deformation.h index 8ae9e55a587..8ea4a79d9ce 100644 --- a/Surface_mesh_deformation/include/CGAL/Surface_mesh_deformation.h +++ b/Surface_mesh_deformation/include/CGAL/Surface_mesh_deformation.h @@ -823,8 +823,6 @@ public: */ void reset() { - if(roi.empty()) { return; } // no ROI to reset - region_of_solution(); // since we are using original vector //restore the current positions to be the original positions