Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
devops committed Dec 2, 2024
2 parents 7230a44 + 1d701f5 commit 1db4dcb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion runtime/util/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ std::unordered_set<block *, hash_block, k_eq> take_search_steps(
while (!states.empty() && depth != 0) {
state = states.front();
states.pop_front();
states_set.erase(state);
if (states.empty()) {
states_set.clear();
} else {
states_set.erase(state);
}

if (depth > 0) {
depth--;
Expand Down

0 comments on commit 1db4dcb

Please sign in to comment.