Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Trait not implemented... while it is!
In a library, a trait is defined and implemented on ndarray::Array1
: rust-sundials/src/vector/mod.rs at master ยท Chris00/rust-sundials ยท GitHub
Using the library (with the right feature) used to work but now (latest compiler, edition 2024), I have the error:
the trait `NVectorOps` is not implemented for `ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>`
I also tried to implement the trait on the expanded type to no avail. Any help will be appreciated.
2 posts - 2 participants
๐ท๏ธ rust_feed