chore: fix clippy warnings
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ pub trait EVDDecomposableMatrix<T: RealNumber>: BaseMatrix<T> {
|
||||
sort(&mut d, &mut e, &mut V);
|
||||
}
|
||||
|
||||
Ok(EVD { V, d, e })
|
||||
Ok(EVD { d, e, V })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -966,7 +966,7 @@ mod tests {
|
||||
let error: f64 = y
|
||||
.into_iter()
|
||||
.zip(y_hat.into_iter())
|
||||
.map(|(&a, &b)| (a - b).abs())
|
||||
.map(|(a, b)| (a - b).abs())
|
||||
.sum();
|
||||
|
||||
assert!(error <= 1.0);
|
||||
|
||||
Reference in New Issue
Block a user