X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/34684adf74990d4eb0fd89467fd0496b486c077b..a12ac1e0085ed93316094a277ef495b69f33ff03:/src/surf/maxmin.c diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 24405cc224..8419d5c1b7 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -386,15 +386,17 @@ void lmm_print(lmm_system_t sys) } DEBUG1("%s",trace_buf); trace_buf[0]='\000'; - xbt_assert3(!double_positive(sum-cnst->bound), "Incorrect value (%f is not smaller than %f): %g", - sum,cnst->bound,sum-cnst->bound); + if(double_positive(sum-cnst->bound)) + WARN3("Incorrect value (%f is not smaller than %f): %g", + sum,cnst->bound,sum-cnst->bound); } /* Printing Result */ xbt_swag_foreach(var, var_list) { if(var->bound>0) { DEBUG4("'%p'(%f) : %f (<=%f)",var,var->weight,var->value, var->bound); - xbt_assert2(!double_positive(var->value-var->bound), "Incorrect value (%f is not smaller than %f", + if(double_positive(var->value-var->bound)) + WARN2("Incorrect value (%f is not smaller than %f", var->value, var->bound); } else