Skip to content
Snippets Groups Projects
Commit bc718acb authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

more recursion !!

parent 64ad7e84
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,7 @@ static void RecursiveIntegration(GEdge *ge, IntPoint *from, IntPoint *to, ...@@ -205,7 +205,7 @@ static void RecursiveIntegration(GEdge *ge, IntPoint *from, IntPoint *to,
double val3 = trapezoidal(&P, to); double val3 = trapezoidal(&P, to);
double err = fabs(val1 - val2 - val3); double err = fabs(val1 - val2 - val3);
if(((err < Prec) && (*depth > 3)) || (*depth > 25)) { if(((err < Prec) && (*depth > 6)) || (*depth > 25)) {
p1 = Points.back(); p1 = Points.back();
P.p = p1.p + val2; P.p = p1.p + val2;
Points.push_back(P); Points.push_back(P);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment