Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added round trip time contraint to the SDP program, this parameter
[simgrid.git] / src / gras / DataDesc / cbps.c
index d82f07c..649bb1a 100644 (file)
@@ -64,8 +64,7 @@ void gras_cbps_reset(gras_cbps_t state) {
 
   xbt_dynar_reset(state->lints);
 
-  xbt_dict_free ( &(state->space) );
-  state->space = xbt_dict_new();
+  xbt_dict_reset (state->space);
 
   xbt_dynar_reset(state->frames);
   xbt_dynar_reset(state->globals);