From: Arnaud Giersch Date: Mon, 15 Apr 2013 16:21:54 +0000 (+0200) Subject: Really call function TRACE_disable_power(). X-Git-Tag: v3_9_90~419 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/624775b55293ba4ba88f6821cbb97a503a580073 Really call function TRACE_disable_power(). --- diff --git a/src/surf/instr_routing.c b/src/surf/instr_routing.c index 0b4cc078d0..8aa9377763 100644 --- a/src/surf/instr_routing.c +++ b/src/surf/instr_routing.c @@ -263,7 +263,7 @@ static void instr_routing_parse_start_host (sg_platf_host_cbarg_t host) container_t father = *(container_t*)xbt_dynar_get_ptr(currentContainer, xbt_dynar_length(currentContainer)-1); container_t new = PJ_container_new (host->id, INSTR_HOST, father); - if ((TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) && (! TRACE_disable_power)) { + if ((TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) && (! TRACE_disable_power())) { type_t power = PJ_type_get_or_null ("power", new->type); if (power == NULL){ power = PJ_type_variable_new ("power", NULL, new->type);