From ac6ca95b9c0b7aaf15b6d805a3fccfccbd678e9c Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 11 Apr 2013 16:19:11 +0000
Subject: [PATCH] fix bug in orientGFace

---
 Mesh/meshGFace.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp
index b13b22125f..548b445be1 100644
--- a/Mesh/meshGFace.cpp
+++ b/Mesh/meshGFace.cpp
@@ -2481,7 +2481,7 @@ void orientMeshGFace::operator()(GFace *gf)
           SPoint2 p;
           // FIXME: use inexact reparam because some vertices might not be
           // exactly on the surface after the 3D Delaunay
-          bool ok = reparamMeshVertexOnFace(e->getVertex(j), gf, p, false);
+          ok = reparamMeshVertexOnFace(e->getVertex(j), gf, p, false);
           if(!ok) break;
           param += p;
         }
-- 
GitLab