diff --git a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h index 96d86be8160..da92e92eb05 100644 --- a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h +++ b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h @@ -60,7 +60,7 @@ struct Project_vertex_output_iterator template Project_vertex_output_iterator& operator=(const Vertex_pair& x){ - _base=std::make_pair(x.first->point(), x.second); + *_base=std::make_pair(x.first->point(), x.second); return *this; } };