X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9735863c1ccb1ae8b55853262d6e1c3ee3a8698f..872d65264714799b25eb231609c3f05bae3d03dc:/src/surf/instr_routing.cpp diff --git a/src/surf/instr_routing.cpp b/src/surf/instr_routing.cpp index 4523960ef6..ad7511791a 100644 --- a/src/surf/instr_routing.cpp +++ b/src/surf/instr_routing.cpp @@ -269,7 +269,7 @@ void sg_instr_new_host(sg_platf_host_cbarg_t host) } double current_speed_state; - xbt_dynar_get_cpy(host->speed_peak, host->pstate, ¤t_speed_state); + xbt_dynar_get_cpy(host->speed_per_pstate, host->pstate, ¤t_speed_state); new_pajeSetVariable (0, container, speed, current_speed_state); } if (TRACE_uncategorized()){