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 ff10bb4 commit c5db4b8Copy full SHA for c5db4b8
src/krylov/householder.rs
@@ -21,7 +21,7 @@ impl<A: Scalar> Householder<A> {
21
let w = self.v[k].slice(s![k..]);
22
let c = A::from(2.0).unwrap() * w.inner(&a.slice(s![k..]));
23
for l in k..self.dim {
24
- a[l] -= c * w[l];
+ a[l] -= c * w[l - k];
25
}
26
27
0 commit comments