Skip to content

Commit c5db4b8

Browse files
committed
Bug fix
1 parent ff10bb4 commit c5db4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/krylov/householder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl<A: Scalar> Householder<A> {
2121
let w = self.v[k].slice(s![k..]);
2222
let c = A::from(2.0).unwrap() * w.inner(&a.slice(s![k..]));
2323
for l in k..self.dim {
24-
a[l] -= c * w[l];
24+
a[l] -= c * w[l - k];
2525
}
2626
}
2727
}

0 commit comments

Comments
 (0)