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
Ensure that the verified application still works if get_max_consider() is not called...
[simgrid.git]
/
src
/
kernel
/
actor
/
SimcallObserver.cpp
diff --git
a/src/kernel/actor/SimcallObserver.cpp
b/src/kernel/actor/SimcallObserver.cpp
index
e4ffca2
..
87991cc
100644
(file)
--- a/
src/kernel/actor/SimcallObserver.cpp
+++ b/
src/kernel/actor/SimcallObserver.cpp
@@
-32,7
+32,7
@@
void RandomSimcall::prepare(int times_considered)
XBT_DEBUG("MC_RANDOM(%d, %d) will return %d after %d times", min_, max_, next_value_, times_considered);
}
-int RandomSimcall::get_max_consider()
+int RandomSimcall::get_max_consider()
const
{
return max_ - min_ + 1;
}