From: alegrand Date: Tue, 1 Feb 2005 17:27:28 +0000 (+0000) Subject: More reasonnable value. X-Git-Tag: v3.3~4510 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e04390ba0f56cd9e99253f4756c65739ca0a303e More reasonnable value. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@841 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/workstation_KCCFLN05.c b/src/surf/workstation_KCCFLN05.c index ab285f648e..e3c3d9160f 100644 --- a/src/surf/workstation_KCCFLN05.c +++ b/src/surf/workstation_KCCFLN05.c @@ -564,7 +564,7 @@ static double share_cpu_KCCFLN05_resources(double now) scale -= ROUTE(action->src->id,action->dst->id).impact_on_dst_with_other_send * lmm_variable_getvalue(action->variable); } - if(scale<0.0) scale=0.0; + if(scale<0.0) scale=0.1; xbt_assert0(scale>=0.0,"Negative interference !"); } lmm_update_constraint_bound(maxmin_system_cpu_KCCFLN05,workstation->constraint,