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' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
src
/
mc
/
explo
/
DFSExplorer.cpp
diff --git
a/src/mc/explo/DFSExplorer.cpp
b/src/mc/explo/DFSExplorer.cpp
index
2c72764
..
f540f71
100644
(file)
--- a/
src/mc/explo/DFSExplorer.cpp
+++ b/
src/mc/explo/DFSExplorer.cpp
@@
-372,7
+372,7
@@
std::shared_ptr<State> DFSExplorer::best_opened_state()
continue;
if (valid != current)
*valid = std::move(*current);
- if (best == end(opened_states_) || prio
>
best_prio) {
+ if (best == end(opened_states_) || prio
<
best_prio) {
best_prio = prio;
best = valid;
}