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.
2 parents f192e6f + edff246 commit 3aece3dCopy full SHA for 3aece3d
ndarray-linalg/Cargo.toml
@@ -47,7 +47,7 @@ rand = "0.8.3"
47
thiserror = "2.0.0"
48
49
[dependencies.ndarray]
50
-version = "0.16.0"
+version = "0.17.1"
51
features = ["approx", "std"]
52
default-features = false
53
ndarray-linalg/src/lobpcg/eig.rs
@@ -69,7 +69,10 @@ impl<A: Float + Scalar + ScalarOperand + Lapack + PartialOrd + Default> Truncate
69
lobpcg(
70
|y| self.problem.dot(&y),
71
x,
72
- |mut y| y.assign(&preconditioner.dot(&y)),
+ |mut y| {
73
+ let p = preconditioner.dot(&y);
74
+ y.assign(&p);
75
+ },
76
self.constraints.clone(),
77
self.precision,
78
self.maxiter,
0 commit comments