Commit a39acd81 authored by ws's avatar ws

Fixing non-deterministic behavior caused by different order of nodes considered…

Fixing non-deterministic behavior caused by different order of nodes considered as the nodes are ordered on their address instead of on their number.
parent e28ad586
Pipeline #1660 passed with stage
in 18 minutes and 20 seconds
......@@ -854,7 +854,7 @@ void _relocateVertex(GFace *gf, MVertex *ver,
ver->getParameter(1, initv);
// compute the vertices connected to that one
std::map<MVertex*,SPoint2> pts;
std::map<MVertex*,SPoint2,MVertexLessThanNum> pts;
for(unsigned int i = 0; i < lt.size(); i++){
for (int j=0;j<lt[i]->getNumEdges();j++){
MEdge e = lt[i]->getEdge(j);
......
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