When I try to build the wine quality example for linfa-svm, I get the following error:
Compiling linfa-kernel v0.6.1
error[E0599]: no method named `mul` found for reference `&CsMatBase<F, usize, Vec<usize>, Vec<usize>, Vec<F>>` in the current scope
--> C:\Users\[username]\.cargo\registry\src\index.crates.io-6f17d22bba15001f\linfa-kernel-0.6.1\src\inner.rs:64:14
|
64 | self.mul(rhs)
| ^^^ method not found in `&CsMatBase<F, usize, Vec<usize>, Vec<usize>, Vec<F>>`
error[E0599]: no method named `mul` found for reference `&CsMatBase<F, usize, &'a [usize], &'a [usize], &'a [F]>` in the current scope
--> C:\Users\[username]\.cargo\registry\src\index.crates.io-6f17d22bba15001f\linfa-kernel-0.6.1\src\inner.rs:109:14
|
109 | self.mul(rhs)
| ^^^ method not found in `&CsMatBase<F, usize, &[usize], &[usize], &[F]>`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `linfa-kernel` (lib) due to 2 previous errors
I am on windows 10 with rustc version 1.70.0. I also tried version 0.5.1 which gives me the same error, and it also happens when I try it on my Arch Linux machine with rustc version 1.68.0.
I looked around in the source files, and it appears that this problem is related to the trait binding of the generic F:
impl<F: linfa::Float> Inner for CsMat<F>
and
impl<'a, F: linfa::Float> Inner for CsMatView<'a, F>
Any help would be appreciated.
When I try to build the wine quality example for linfa-svm, I get the following error:
I am on windows 10 with rustc version 1.70.0. I also tried version 0.5.1 which gives me the same error, and it also happens when I try it on my Arch Linux machine with rustc version 1.68.0.
I looked around in the source files, and it appears that this problem is related to the trait binding of the generic
F:and
Any help would be appreciated.