diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-05-19 23:13:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-05-19 23:13:47 +0200 |
commit | 2f656ce447e078397ef8922f8f296174a21573dd (patch) | |
tree | 6c36e57cbb2839dbe98033227e1b20fe30f460e5 /unsupported/Eigen/src | |
parent | ccc7563ac5a614dec4f868b940cf521b01c48a55 (diff) |
Remove std:: to enable custom scalar types.
Diffstat (limited to 'unsupported/Eigen/src')
-rw-r--r-- | unsupported/Eigen/src/IterativeSolvers/GMRES.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index cb64c24c3..517035c66 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -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) |