diff --git a/src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp b/src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp index 394701b6eda7145d44f2367bbde6eb65b3027b92..4bcf3323a6e5eb1b9bdd4c0288ee17c7a24171c1 100644 --- a/src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp +++ b/src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp @@ -45,7 +45,6 @@ TransitStateContainer TransitShortestPathPrecompute::executeAlgorithm(const Grap lineStop.getStopIndex(), currentState.getInstant()); if (nextPassageIndex == lineStop.getLineRef().scheduleSize()) { newState.setInstant(INT16_MAX); - break; } else { newState = TransitAlgorithmState(currentState, lineStop); newState.setNodeIndex(nextNode);