From ae79362d946da5563d2ffc1ed5c2f1df7594e791 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 31 Jan 2014 07:33:59 +0000 Subject: [PATCH] Prior to C++11, fmax is a C99 function and not in namespace std git-svn-id: https://svn.dealii.org/trunk@32354 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/quadrature_lib.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/source/base/quadrature_lib.cc b/deal.II/source/base/quadrature_lib.cc index c0c5095e1c..049b8de1e7 100644 --- a/deal.II/source/base/quadrature_lib.cc +++ b/deal.II/source/base/quadrature_lib.cc @@ -128,7 +128,7 @@ QGauss<1>::QGauss (const unsigned int n) const long double tolerance = (runtime_one + long_double_eps != runtime_one ? - std::fmax (double_eps / 100, long_double_eps * 5) + fmax (double_eps / 100, long_double_eps * 5) : double_eps * 5 ); @@ -215,7 +215,7 @@ compute_quadrature_points(const unsigned int q, const long double tolerance = (runtime_one + long_double_eps != runtime_one ? - std::fmax (double_eps / 100, long_double_eps * 5) + fmax (double_eps / 100, long_double_eps * 5) : double_eps * 5 ); -- 2.39.5