From bc718acb4e5c70c5f98f8d9deb23fa483acc8657 Mon Sep 17 00:00:00 2001
From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be>
Date: Wed, 28 Mar 2012 08:37:29 +0000
Subject: [PATCH] more recursion !!

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

diff --git a/Mesh/meshGEdge.cpp b/Mesh/meshGEdge.cpp
index 35b22c060b..2863eb7cd6 100644
--- a/Mesh/meshGEdge.cpp
+++ b/Mesh/meshGEdge.cpp
@@ -205,7 +205,7 @@ static void RecursiveIntegration(GEdge *ge, IntPoint *from, IntPoint *to,
   double val3 = trapezoidal(&P, to);
   double err = fabs(val1 - val2 - val3);
 
-  if(((err < Prec) && (*depth > 3)) || (*depth > 25)) {
+  if(((err < Prec) && (*depth > 6)) || (*depth > 25)) {
     p1 = Points.back();
     P.p = p1.p + val2;
     Points.push_back(P);
-- 
GitLab