From: Daniel Arndt Date: Thu, 27 Jul 2017 21:50:33 +0000 (+0200) Subject: Use numeric_limits::infinity X-Git-Tag: v9.0.0-rc1~1367^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80f9912f048025411cf7779bb9f3c13f80382c04;p=dealii.git Use numeric_limits::infinity --- diff --git a/source/base/quadrature.cc b/source/base/quadrature.cc index fc7117ab3d..4a107dc22a 100644 --- a/source/base/quadrature.cc +++ b/source/base/quadrature.cc @@ -104,7 +104,7 @@ template Quadrature::Quadrature (const std::vector > &points) : quadrature_points(points), - weights(points.size(), std::atof("Inf")), + weights(points.size(), std::numeric_limits::infinity()), is_tensor_product_flag (dim==1) { Assert(weights.size() == points.size(),