Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
it may be a double, but not an int
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Tue, 9 Nov 2021 09:48:37 +0000 (10:48 +0100)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Tue, 9 Nov 2021 09:48:37 +0000 (10:48 +0100)
src/surf/xml/surfxml_sax_cb.cpp

index a94ae60..5860e28 100644 (file)
@@ -88,7 +88,7 @@ int surf_parse_get_int(const std::string& s)
   try {
     return std::stoi(s);
   } catch (const std::invalid_argument&) {
-    surf_parse_error(s + " is not a double");
+    surf_parse_error(s + " is not an int");
   }
 }