action->latency = 0.0;
}
if ((action->latency == 0.0) && !(action->suspended))
- lmm_update_variable_weight(maxmin_system, action->variable, 1.0);
+ lmm_update_variable_weight(maxmin_system, action->variable,
+ action->lat_current);
}
surf_double_update(&(action->generic_action.remains),
lmm_variable_getvalue(action->variable) * deltap);
{
lmm_update_variable_weight(maxmin_system,
((surf_action_network_CM02_t) action)->variable,
- action->lat_current);
+ ((surf_action_network_CM02_t) action)->lat_current);
((surf_action_network_CM02_t) action)->suspended = 0;
}