From: alegrand Date: Wed, 19 Jul 2006 15:01:50 +0000 (+0000) Subject: add more debugging X-Git-Tag: v3.3~2722 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bd6a1bd164a0acbb52a1cf49e2ee65cae4e2b07b?hp=294f95a39505231ba48a99c4c4a9f4ecaeed7e40 add more debugging git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2637 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 37ad510d4d..846dde0e05 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -349,7 +349,8 @@ static void lmm_print(lmm_system_t sys) strcat(trace_buf, print_buf); DEBUG1("%s",trace_buf); trace_buf[0]='\000'; - xbt_assert0((sum<=cnst->bound), "Incorrect value"); + xbt_assert2((sum<=cnst->bound), "Incorrect value (%f is not smaller than %f)", + sumn,cnst->bound); } /* Printing Result */