Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mcapi::compare_pair() in insert_acceptance_pair()
[simgrid.git] / src / xbt / xbt_parse_units.cpp
index a77b852c44d2e7e9d5d7b782304f176f224a1b87..7321a374649dc0e9af031b77f53489d8837e3f1a 100644 (file)
@@ -119,7 +119,7 @@ std::vector<double> xbt_parse_get_bandwidths(const std::string& filename, int li
 
   std::vector<double> bandwidths;
   std::vector<std::string> tokens;
-  boost::split(tokens, string, boost::is_any_of(";"));
+  boost::split(tokens, string, boost::is_any_of(";,"));
   for (auto token : tokens) {
     bandwidths.push_back(surf_parse_get_value_with_unit(
         filename, lineno, token.c_str(), units, entity_kind, name,