fix newton's method test

This commit is contained in:
Simon Gardling 2025-12-03 20:07:11 -05:00
parent fe01277f7b
commit 7252d37763
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -152,7 +152,7 @@ fn newtons_method() {
let data = newtons_method( let data = newtons_method(
&get_flatexwrapper("x^2 -1"), &get_flatexwrapper("x^2 -1"),
&get_flatexwrapper("2x"), &get_flatexwrapper("2*x"),
3.0, 3.0,
&(0.0..5.0), &(0.0..5.0),
f64::EPSILON, f64::EPSILON,