Skip to content

Commit

Permalink
bus stop has precedence over edge, refs #3843
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Feb 27, 2018
1 parent f9fef86 commit be1319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/vehicle/IntermodalRouter.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class IntermodalRouter : public SUMOAbstractRouter<E, IntermodalTrip<E, N, V> >
_IntermodalTrip trip(from, to, departPos, arrivalPos, speed, msTime, 0, vehicle, modeSet);
std::vector<const _IntermodalEdge*> intoEdges;
const bool success = myInternalRouter->compute(myIntermodalNet->getDepartEdge(from, trip.departPos),
to == nullptr ? myStopConnections[stopID] : myIntermodalNet->getArrivalEdge(to, trip.arrivalPos),
stopID != "" ? myStopConnections[stopID] : myIntermodalNet->getArrivalEdge(to, trip.arrivalPos),
&trip, msTime, intoEdges);
if (success) {
std::string lastLine = "";
Expand Down

0 comments on commit be1319d

Please sign in to comment.