From 5e49857c02bacb3711d36164d1b016feca874aa3 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 9 Apr 2014 11:48:22 +0000 Subject: [PATCH] fix copy/paste bug in getWedge --- Mesh/meshGRegion.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Mesh/meshGRegion.cpp b/Mesh/meshGRegion.cpp index e65438c6ab..3c4e7f852e 100644 --- a/Mesh/meshGRegion.cpp +++ b/Mesh/meshGRegion.cpp @@ -688,9 +688,6 @@ static int getWedge(BoundaryLayerColumns* _columns, MVertex *v1, MVertex *v2, if (c2._joint.size())NW2++; } - - - std::map<int,int> one2two; for (int i=0;i<NW1;i++){ const BoundaryLayerData & c1 = _columns->getColumn(v1,i); @@ -737,7 +734,7 @@ static int getWedge(BoundaryLayerColumns* _columns, MVertex *v1, MVertex *v2, for (int i=0;i<NW2;i++){ for (int j=i+1;j<NW2;j++){ if ((vert2Start == i && vert2End == j) || - (vert2Start == i && vert2End == j)) + (vert2Start == j && vert2End == i)) { INDEX2 = count; } -- GitLab