Solve conflic with num-traits (#130)

* Solve conflic with num-traits

* Fix clippy warnings

Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
This commit is contained in:
morenol
2022-05-05 10:39:18 -04:00
committed by GitHub
parent 12c102d02b
commit 820201e920
23 changed files with 58 additions and 65 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ impl<T: RealNumber, M: Matrix<T>, K: Kernel<T, M::RowVector>> SVR<T, M, K> {
if n != y.len() {
return Err(Failed::fit(
&"Number of rows of X doesn\'t match number of rows of Y".to_string(),
"Number of rows of X doesn\'t match number of rows of Y",
));
}