Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Nov 29, 2024
1 parent 88bd907 commit edb2912
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/search/cartesian_abstractions/shortest_paths.cc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ void ShortestPaths::update_incrementally(
known.) After this initialization, proceed with a normal Dijkstra search,
but only consider arcs that lead from dirty to dirty states.
*/
int num_orphans = 0;
open_queue.clear();
for (int state : dirty_states) {
Cost &dist = goal_distances[state];
Expand All @@ -264,7 +263,6 @@ void ShortestPaths::update_incrementally(
dist = min_dist;
if (min_dist != INF_COSTS) {
open_queue.push(dist, state);
++num_orphans;
}
}
while (!open_queue.empty()) {
Expand Down

0 comments on commit edb2912

Please sign in to comment.