From 09e0bc7bd4dc521423ddaa7ce7e86db1a1aa6735 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 8 Jul 2013 14:01:30 +0000
Subject: [PATCH] err->warn

---
 Geo/gmshFace.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Geo/gmshFace.cpp b/Geo/gmshFace.cpp
index 4753335349..026ad19c04 100644
--- a/Geo/gmshFace.cpp
+++ b/Geo/gmshFace.cpp
@@ -183,12 +183,12 @@ SVector3 gmshFace::normal(const SPoint2 &param) const
           angle += angle_plan(v, v1, v2, n);
         }
       }
-      if(fabs(angle) < 0.5){
+      if(fabs(angle) < 0.5){ // we're outside
         NP *= 2;
         Msg::Debug("Could not compute normal of surface %d - retrying with %d points",
                    tag(), NP);
         if(tries > 10){
-          Msg::Error("Could not compute normal of surface %d", tag());
+          Msg::Warning("Could not compute normal of surface %d", tag());
           return SVector3(n[0], n[1], n[2]);
         }
       }
-- 
GitLab