Skip to content

Commit

Permalink
fix: return index
Browse files Browse the repository at this point in the history
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
  • Loading branch information
taikitanaka3 committed Aug 24, 2022
1 parent 7ca012b commit 484c71d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ int BlindSpotModule::insertPoint(
inout_path->points.at(insert_idx - 1).point.longitudinal_velocity_mps = 0.0;
insert_idx--;
is_point_inserted = false;
return insert_idx;
}
inout_path->points.insert(it, inserted_point);
is_point_inserted = true;
Expand Down

0 comments on commit 484c71d

Please sign in to comment.