]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the string_to_double error message. 2736/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 30 Jun 2016 01:53:16 +0000 (21:53 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 30 Jun 2016 01:53:16 +0000 (21:53 -0400)
source/base/utilities.cc

index 809b024376fca57b601db97c61f1099895a4ec94..dfdcd893644c463c1e6e564aa388153fd3c8a27b 100644 (file)
@@ -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;
   }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.