diff options
Diffstat (limited to 'Functions/falsePosition.m')
| -rw-r--r-- | Functions/falsePosition.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/falsePosition.m b/Functions/falsePosition.m index 9e4a236..d3ba428 100644 --- a/Functions/falsePosition.m +++ b/Functions/falsePosition.m @@ -32,7 +32,7 @@ while(1) ea = abs((xr-xrold)/xr)*100; end if func(xl)*func(xr)<0 - xl = xr; + xu = xr; else xl = xr; end |
