We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d7af4 commit 96348e5Copy full SHA for 96348e5
src/krylov/householder.rs
@@ -93,7 +93,7 @@ impl<A: Scalar + Lapack> Orthogonalizer for Householder<A> {
93
let mut a = Array::zeros((self.dim(), self.len()));
94
for (i, mut col) in a.axis_iter_mut(Axis(1)).enumerate() {
95
col[i] = A::one();
96
- for l in 0..self.len() {
+ for l in (0..self.len()).rev() {
97
self.reflect(l, &mut col);
98
}
99
0 commit comments