mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
Remove std:: to enable custom scalar types.
This commit is contained in:
parent
ccc7563ac5
commit
2f656ce447
@ -157,7 +157,7 @@ bool gmres(const MatrixType & mat, const Rhs & rhs, Dest & x, const Precondition
|
|||||||
// insert coefficients into upper matrix triangle
|
// insert coefficients into upper matrix triangle
|
||||||
H.col(k-1).head(k) = v.head(k);
|
H.col(k-1).head(k) = v.head(k);
|
||||||
|
|
||||||
tol_error = std::abs(w(k)) / r0Norm;
|
tol_error = abs(w(k)) / r0Norm;
|
||||||
bool stop = (k==m || tol_error < tol || iters == maxIters);
|
bool stop = (k==m || tol_error < tol || iters == maxIters);
|
||||||
|
|
||||||
if (stop || k == restart)
|
if (stop || k == restart)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user