Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add more debugging
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 Jul 2006 15:01:50 +0000 (15:01 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 Jul 2006 15:01:50 +0000 (15:01 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2637 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/maxmin.c

index 37ad510..846dde0 100644 (file)
@@ -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 */