do not care a ref as it will be update to the new position

This commit is contained in:
Sébastien Loriot 2022-03-23 22:56:23 +01:00
parent f4098ebe65
commit 1b5632fcdc
1 changed files with 1 additions and 1 deletions

View File

@ -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);