From: Martin Quinson Date: Sun, 25 Jan 2015 23:26:52 +0000 (+0100) Subject: more informative (?) error message X-Git-Tag: v3_12~760^2~24 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/764f4f5a919871f157c5b1678854e97aa8e919c7 more informative (?) error message --- diff --git a/src/surf/surf_routing_cluster.cpp b/src/surf/surf_routing_cluster.cpp index 25cf788bdd..02c11ba7b1 100644 --- a/src/surf/surf_routing_cluster.cpp +++ b/src/surf/surf_routing_cluster.cpp @@ -90,7 +90,7 @@ void AsCluster::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) xbt_node_t current, previous, backboneNode = NULL, routerNode; s_surf_parsing_link_up_down_t info; - xbt_assert(p_router,"Malformed cluster"); + xbt_assert(p_router,"Malformed cluster. This may be because your platform file is a hypergraph while it must be a graph."); /* create the router */ char *link_name = p_router->getName();