Here is the error message (paths slightly elided as they contain names):
error[E0277]: the trait bound `ArrayBase<..., ...>: NVectorOps` is not satisfied
--> src/fem.rs:619:13
|
619 | CVode::bdf(μ0, u0, |μ, u, du| {
| ^^^^^ unsatisfied trait bound
|
= help: the trait `NVectorOps` is not implemented for `ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>`
= help: the following other types implement trait `NVectorOps`:
(T1, T2)
(T1, T2, T3)
(T1, T2, T3, T4)
(T1, T2, T3, T4, T5)
(T1, T2, T3, T4, T5, T6)
(T1, T2, T3, T4, T5, T6, T7)
(T1, T2, T3, T4, T5, T6, T7, T8)
(T1, T2, T3, T4, T5, T6, T7, T8, T9)
and 8 others
= note: required for `ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>` to implement `sundials::vector::Vector`
note: required by a bound in `CVode`
--> /home/XXX/.cargo/git/checkouts/rust-sundials-159b099bdbe5b731/18c02a8/src/cvode.rs:389:10
|
388 | pub struct CVode<Ctx, V, CB>
| ----- required by a bound in this struct
389 | where V: Vector,
| ^^^^^^ required by this bound in `CVode`
= note: the full name for the type has been written to '/.../superlinear-sign-changing/target/debug/deps/superlinear_sign_changing-1983a759068f60d7.long-type-11300553151382703642.txt'
= note: consider using `--verbose` to print the full type name to the console