Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Make Checker implementation private
[simgrid.git] / src / surf / surf_interface.cpp
index 05b3c8b..a6a4825 100644 (file)
@@ -883,12 +883,8 @@ void Action::updateRemainingLazy(double now)
   }
   else
   {
-    xbt_assert(stateSet_ == getModel()->getRunningActionSet(),
-        "You're updating an action that is not running.");
-
-      /* bogus priority, skip it */
-    xbt_assert(priority_ > 0,
-        "You're updating an action that seems suspended.");
+    xbt_assert(stateSet_ == getModel()->getRunningActionSet(), "You're updating an action that is not running.");
+    xbt_assert(priority_ > 0, "You're updating an action that seems suspended.");
   }
 
   delta = now - lastUpdate_;