From bd6a1bd164a0acbb52a1cf49e2ee65cae4e2b07b Mon Sep 17 00:00:00 2001 From: alegrand Date: Wed, 19 Jul 2006 15:01:50 +0000 Subject: [PATCH] add more debugging git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2637 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/surf/maxmin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.20.1