]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Compare compatible types to make clang-3.4 (trunk) happy
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 22:48:44 +0000 (22:48 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 22:48:44 +0000 (22:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@31395 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/parameter_handler.cc

index 267fef855ed7f01a1471e1be4cdc5bcdcad98959..58f27f55fbdf5c0170792eb07e24b7d1c4c57c6e 100644 (file)
@@ -1658,7 +1658,7 @@ double ParameterHandler::get_double (const std::string &entry_string) const
   char *endptr;
   double d = std::strtod (s.c_str(), &endptr);
   // assert there was no error
-  AssertThrow ((s.c_str()!='\0') || (*endptr == '\0'),
+  AssertThrow ((*s.c_str() != '\0') || (*endptr == '\0'),
                ExcConversionError(s));
 
   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.