fix newton's method test
This commit is contained in:
parent
fe01277f7b
commit
7252d37763
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user