Commit cdf55000 authored by Dorchies David's avatar Dorchies David
Browse files

Solve regression on #116 due to 813c7ae0

Showing with 1 addition and 1 deletion
+1 -1
......@@ -521,7 +521,7 @@ export class Dichotomie extends Debug {
Math.abs(newStep) <= tolAct
&& (
Math.abs(fb) < errorTol
|| Math.abs(fb / fc) < 1
|| Math.abs(fb - fc) < errorTol * 1E5
)
) {
return b; // Acceptable approx. is found
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment