diff options
-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) |