mirror of https://github.com/CGAL/cgal
do not care a ref as it will be update to the new position
This commit is contained in:
parent
f4098ebe65
commit
1b5632fcdc
|
|
@ -259,7 +259,7 @@ void tangential_relaxation(const VertexRange& vertices,
|
|||
// perform moves
|
||||
for(const VP_pair& vp : new_locations)
|
||||
{
|
||||
const Point_3& initial_pos = get(vpm, vp.first);
|
||||
const Point_3 initial_pos = get(vpm, vp.first); // make a copy on purpose
|
||||
const Vector_3 move(initial_pos, vp.second);
|
||||
|
||||
put(vpm, vp.first, vp.second);
|
||||
|
|
|
|||
Loading…
Reference in New Issue