Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Taking into account an old behavior modification of surf_solve
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 5 Jan 2005 00:27:52 +0000 (00:27 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 5 Jan 2005 00:27:52 +0000 (00:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@732 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/surf/surf_usage.c

index c7d4a2b..d58b85a 100644 (file)
@@ -125,7 +125,7 @@ void test(char *platform)
       action->resource_type->common_public->action_free(action);
     }
 
       action->resource_type->common_public->action_free(action);
     }
 
-  } while (surf_solve());
+  } while (surf_solve()>=0.0);
 
   printf("Simulation Terminated\n");
 
 
   printf("Simulation Terminated\n");