Skip to content

Commit

Permalink
Merge pull request #14 from onlytailei/tailei_revise
Browse files Browse the repository at this point in the history
fix copy usage
  • Loading branch information
onlytailei authored Jul 15, 2023
2 parents cc1f95c + af7f5f3 commit e30a914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/a_star.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::vector<std::vector<int> > calc_obstacle_map(


bool verify_node(Node* node,
vector<vector<int> > obmap,
const vector<vector<int>>& obmap,
int min_ox, int max_ox,
int min_oy, int max_oy){
if (node->x < min_ox || node->y < min_oy || node->x >= max_ox || node->y >= max_oy){
Expand Down

0 comments on commit e30a914

Please sign in to comment.