Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add more debugging
[simgrid.git] / src / surf / maxmin.c
index 37ad510d4ddf545e9f27baa58bf4451144ec9c06..846dde0e052e598df9f0c5bde7339d35a689f40d 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 */