Skip to content

Commit

Permalink
update parent check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kei18 committed Jul 21, 2022
1 parent d581304 commit 3700f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast_mapf/src/planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Solution Planner::solve()
// check explored list
auto iter = EXPLORED.find(C);
if (iter != EXPLORED.end()) {
if (iter->second != S->parent) OPEN.push(iter->second);
OPEN.push(iter->second);
continue;
}

Expand Down

0 comments on commit 3700f09

Please sign in to comment.