From: David Wells Date: Thu, 30 Jun 2016 01:53:16 +0000 (-0400) Subject: Fix the string_to_double error message. X-Git-Tag: v8.5.0-rc1~938^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3e004802034d223319e07805e1b959a023f770f;p=dealii.git Fix the string_to_double error message. --- diff --git a/source/base/utilities.cc b/source/base/utilities.cc index 809b024376..dfdcd89364 100644 --- a/source/base/utilities.cc +++ b/source/base/utilities.cc @@ -244,7 +244,7 @@ namespace Utilities errno = 0; const double d = std::strtod(s.c_str(), &p); AssertThrow ( !((errno != 0) || (s.size() == 0) || ((s.size()>0) && (*p != '\0'))), - ExcMessage ("Can't convert <" + s + "> to an integer.")); + ExcMessage ("Can't convert <" + s + "> to a double.")); return d; }