From b3e004802034d223319e07805e1b959a023f770f Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 29 Jun 2016 21:53:16 -0400 Subject: [PATCH] Fix the string_to_double error message. --- source/base/utilities.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5