A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make this error message reproducible
[simgrid.git]
/
src
/
surf
/
xml
/
surfxml_sax_cb.cpp
diff --git
a/src/surf/xml/surfxml_sax_cb.cpp
b/src/surf/xml/surfxml_sax_cb.cpp
index
b2513fd
..
186b559
100644
(file)
--- a/
src/surf/xml/surfxml_sax_cb.cpp
+++ b/
src/surf/xml/surfxml_sax_cb.cpp
@@
-66,6
+66,10
@@
void surf_parse_assert_netpoint(char* hostname, const char* pre, const char* pos
std::vector<simgrid::kernel::routing::NetPoint*> list;
simgrid::s4u::Engine::instance()->netpointList(&list);
std::vector<simgrid::kernel::routing::NetPoint*> list;
simgrid::s4u::Engine::instance()->netpointList(&list);
+ std::sort(list.begin(), list.end(),
+ [](simgrid::kernel::routing::NetPoint* a, simgrid::kernel::routing::NetPoint* b) {
+ return a->name() < b->name();
+ });
bool first = true;
for (auto np : list) {
if (np->isNetZone())
bool first = true;
for (auto np : list) {
if (np->isNetZone())