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
Merge branch 'master' into CRTP
[simgrid.git]
/
src
/
mc
/
checker
/
SafetyChecker.cpp
diff --git
a/src/mc/checker/SafetyChecker.cpp
b/src/mc/checker/SafetyChecker.cpp
index b72c6c9125d84f74e126549e97c9a33b9343002b..c08ecaa23bb14fb03b1fa181174ca557a62e7136 100644
(file)
--- a/
src/mc/checker/SafetyChecker.cpp
+++ b/
src/mc/checker/SafetyChecker.cpp
@@
-81,7
+81,7
@@
void SafetyChecker::run()
{
/* This function runs the DFS algorithm the state space.
* We do so iteratively instead of recursively, dealing with the call stack manually.
- * This allows
to explore the call stack at wish
. */
+ * This allows
one to explore the call stack at will
. */
while (not stack_.empty()) {
@@
-113,7
+113,7
@@
void SafetyChecker::run()
// Search an enabled transition in the current state; backtrack if the interleave set is empty
// get_request also sets state.transition to be the one corresponding to the returned req
- smx_simcall_t req = MC_state_
get
_request(state);
+ smx_simcall_t req = MC_state_
choose
_request(state);
// req is now the transition of the process that was selected to be executed
if (req == nullptr) {