Skip to content

Commit

Permalink
fix(run_out): fix uninitialized ptr (tier4#1270)
Browse files Browse the repository at this point in the history
* fix(run_out): fix uninitialized ptr

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* chore: use make optional

Co-authored-by: Tomohito ANDO <tomohito.ando@tier4.jp>

* chore: use make optional

Co-authored-by: Tomohito ANDO <tomohito.ando@tier4.jp>
  • Loading branch information
2 people authored and boyali committed Oct 3, 2022
1 parent bfbd0be commit c040430
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Polygons2d RunOutModule::createDetectionAreaPolygon(const PathWithLaneId & smoot
initial_vel, target_vel, initial_acc, planning_dec, jerk_acc, jerk_dec);

if (!stop_dist) {
*stop_dist = 0;
stop_dist = boost::make_optional<double>(0.0);
}

// create detection area polygon
Expand Down

0 comments on commit c040430

Please sign in to comment.