-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
hi
I got errors for last line of code when I run this example. I run this example in RustRover IDE:
example:
use eqsolver::multivariable::MultiVarNewtonFD;
use nalgebra::{vector, Vector2};
let f = |v: Vector2| vector![v[0].powi(2) - v[1] - 1., v[0] * v[1] - 2.];
let solution = MultiVarNewtonFD::new(f).solve(vector![1., 1.]); // Starting guess is (1, 1)
errors:
error[E0631]: type mismatch in closure arguments
error[E0599]: the method solve exists for struct MultiVarNewtonFD<_, _, {closure@src\main.rs:39:14: 39:31}>, but its trait bounds were not satisfied
your sincerity
Behnam
Metadata
Metadata
Assignees
Labels
No labels