Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
partially stringify s4u::Actor
[simgrid.git] / src / s4u / s4u_Activity.cpp
index d3eaaef..9ef1d5f 100644 (file)
@@ -22,7 +22,7 @@ double Activity::get_remaining()
 
 Activity* Activity::set_remaining(double remains)
 {
-  xbt_assert(state_ == State::inited, "Cannot change the remaining amount of work once the Activity is started");
+  xbt_assert(state_ == State::INITED, "Cannot change the remaining amount of work once the Activity is started");
   remains_ = remains;
   return this;
 }