Commit f058b85a authored by ws's avatar ws

Update type of iterator as well

parent a39acd81
Pipeline #1661 passed with stage
in 17 minutes and 5 seconds
......@@ -875,7 +875,7 @@ void _relocateVertex(GFace *gf, MVertex *ver,
SPoint2 after(0,0);
double COUNT = 0.0;
// printf("weights :");
for(std::map<MVertex*,SPoint2>::iterator it = pts.begin(); it != pts.end() ; ++it) {
for(std::map<MVertex*,SPoint2,MVertexLessThanNum>::iterator it = pts.begin(); it != pts.end() ; ++it) {
SPoint2 adj = it->second;
SVector3 d(adj.x() - before.x(), adj.y() - before.y(), 0.0);
d.normalize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment