mirror of https://github.com/CGAL/cgal
use a tight count for the number of edges
This commit is contained in:
parent
c2a995d538
commit
c0eb7c33e1
|
|
@ -111,7 +111,8 @@ namespace Surface_mesh_simplification
|
||||||
|
|
||||||
Equal_3 equal_points = Traits().equal_3_object();
|
Equal_3 equal_points = Traits().equal_3_object();
|
||||||
|
|
||||||
size_type lSize = num_edges(mSurface);
|
size_type lSize = std::distance( boost::begin(edges(mSurface)),
|
||||||
|
boost::end(edges(mSurface)) );
|
||||||
|
|
||||||
mInitialEdgeCount = mCurrentEdgeCount = lSize;
|
mInitialEdgeCount = mCurrentEdgeCount = lSize;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue