nieksand / rootfind

Root finding in Rust.
The Unlicense
7 stars 1 forks source link

Very nasty bug fixed. #82

Closed nieksand closed 6 years ago

nieksand commented 6 years ago

Both NR and Halley were returning the f(x_old) for the previous step rather than f(x_new) as the function docs stated and the caller assumed.

This was mucking up convergence criteria and the "safe" variants I was trying to develop.

nieksand commented 6 years ago

Verified that the 'hard' Costabile06 tests are still hard after the fix.