From 2f656ce447e078397ef8922f8f296174a21573dd Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 19 May 2016 23:13:47 +0200 Subject: [PATCH] Remove std:: to enable custom scalar types. --- unsupported/Eigen/src/IterativeSolvers/GMRES.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)