We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6524f7a commit 7ccdcf3Copy full SHA for 7ccdcf3
1 file changed
src/Road.cpp
@@ -95,6 +95,8 @@ LaneSection Road::get_lanesection(const double s) const
95
96
double Road::get_lanesection_end(const LaneSection& lanesection) const
97
{
98
+ if (lanesection.road_id != this->id)
99
+ log::error("LaneSection %f in Road #%s, not in Road #%s", lanesection.s0, lanesection.road_id.c_str(), this->id.c_str());
100
return this->get_lanesection_end(lanesection.s0);
101
}
102
0 commit comments