Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
it may be a double, but not an int
[simgrid.git] / 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");
   }
 }