mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +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
|
||||
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);
|
||||
|
||||
if (stop || k == restart)
|
||||
|
Loading…
Reference in New Issue
Block a user