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 4830306 commit edff246Copy full SHA for edff246
ndarray-linalg/Cargo.toml
@@ -38,7 +38,7 @@ rand = "0.8.3"
38
thiserror = "2.0.0"
39
40
[dependencies.ndarray]
41
-version = "0.16.0"
+version = "0.17.1"
42
features = ["approx", "std"]
43
default-features = false
44
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