X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3e650953e3a2b3adb8ec8c194d7e520ba721cc5b..7db1335adf1a0bf50ca6055fc86be528423c1844:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index c0c04767d9..ab38ab28ff 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -420,8 +420,8 @@ void STag_surfxml_prop(void) } else{ if (!current_property_set) - current_property_set = xbt_dict_new_homogeneous(xbt_free_f); // Maybe, it should raise an error - xbt_dict_set(current_property_set, A_surfxml_prop_id, xbt_strdup(A_surfxml_prop_value), NULL); + current_property_set = xbt_dict_new(); // Maybe, it should raise an error + xbt_dict_set(current_property_set, A_surfxml_prop_id, xbt_strdup(A_surfxml_prop_value), xbt_free); } } @@ -530,6 +530,9 @@ void ETag_surfxml_cluster(void){ case A_surfxml_cluster_topology_TORUS: cluster.topology= SURF_CLUSTER_TORUS ; break; + case A_surfxml_cluster_topology_FAT___TREE: + cluster.topology = SURF_CLUSTER_FAT_TREE; + break; default: surf_parse_error("Invalid cluster topology for cluster %s", cluster.id);