Skip to content

Commit fd3dc2b

Browse files
committed
fix: correct parameters in approximate_lane_border_linear
1 parent edb40c6 commit fd3dc2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Road.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Road::approximate_lane_border_linear(const Lane& lane, const double s_start, con
243243
std::set<double> Road::approximate_lane_border_linear(const Lane& lane, const double eps, const bool outer) const
244244
{
245245
const double s_end = this->get_lanesection_end(lane.key.lanesection_s0);
246-
return this->approximate_lane_border_linear(lane, lane.key.lanesection_s0, s_end, outer);
246+
return this->approximate_lane_border_linear(lane, lane.key.lanesection_s0, s_end, eps, outer);
247247
}
248248

249249
Line3D Road::get_lane_border_line(const Lane& lane, const double s_start, const double s_end, const double eps, const bool outer) const

0 commit comments

Comments
 (0)