From: velho Date: Wed, 14 Feb 2007 15:54:19 +0000 (+0000) Subject: Improved debbugging information. X-Git-Tag: v3.3~2215 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/74e0e2a3ea0e6a0ae9bb445ff167906fb0cbad7c?ds=sidebyside Improved debbugging information. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3144 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 3e9b4a4d5b..8dd3fb35d3 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -378,8 +378,8 @@ void lmm_print(lmm_system_t sys) } DEBUG1("%s",trace_buf); trace_buf[0]='\000'; - xbt_assert2((sum<=cnst->bound), "Incorrect value (%f is not smaller than %f)", - sum,cnst->bound); + xbt_assert3((sum<=cnst->bound), "Incorrect value (%f is not smaller than %f): %g", + sum,cnst->bound,sum-cnst->bound); } /* Printing Result */