Skip to content
Snippets Groups Projects
Commit 1fed460d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix non-determinstic solveInvalidPeriodic: thanks Wendy!

parent 31d85473
No related branches found
No related tags found
No related merge requests found
......@@ -755,7 +755,7 @@ void allowAppearanceofEdge (BDS_Point *p1, BDS_Point *p2)
}
void invalidEdgesPeriodic(BDS_Mesh &m, std::map<BDS_Point*, MVertex*,PointLessThan> *recoverMap,
std::set<BDS_Edge*> &toSplit)
std::set<BDS_Edge*, EdgeLessThan> &toSplit)
{
// first look for degenerated vertices
std::list<BDS_Edge*>::iterator it = m.edges.begin();
......@@ -817,7 +817,7 @@ void invalidEdgesPeriodic(BDS_Mesh &m, std::map<BDS_Point*, MVertex*,PointLessTh
int solveInvalidPeriodic(GFace *gf, BDS_Mesh &m,
std::map<BDS_Point*, MVertex*,PointLessThan> *recoverMap)
{
std::set<BDS_Edge*> toSplit;
std::set<BDS_Edge*, EdgeLessThan> toSplit;
invalidEdgesPeriodic(m, recoverMap, toSplit);
std::set<BDS_Edge*>::iterator ite = toSplit.begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment