Skip to content

Commit

Permalink
small correction for handling prior stops. refs #14438
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 29, 2024
1 parent ffbf223 commit 354b9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microsim/MSBaseVehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ MSBaseVehicle::replaceStop(int nextStopIndex, SUMOVehicleParameter::Stop stop, c
auto itPriorStop = myStops.begin();
std::advance(itPriorStop, nextStopIndex - 1);
const MSStop& priorStop = *itPriorStop;
if (priorStop.pars.jump < 0) {
if (priorStop.pars.jump >= 0) {
needJump = false;
}
}
Expand Down

0 comments on commit 354b9d4

Please sign in to comment.