A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
partially stringify s4u::Actor
[simgrid.git]
/
src
/
s4u
/
s4u_Activity.cpp
diff --git
a/src/s4u/s4u_Activity.cpp
b/src/s4u/s4u_Activity.cpp
index
d3eaaef
..
9ef1d5f
100644
(file)
--- a/
src/s4u/s4u_Activity.cpp
+++ b/
src/s4u/s4u_Activity.cpp
@@
-22,7
+22,7
@@
double Activity::get_remaining()
Activity* Activity::set_remaining(double remains)
{
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;
}
remains_ = remains;
return this;
}