From d8d3449d3ae2249bc4af56b0831ff0579e7f9413 Mon Sep 17 00:00:00 2001 From: Romain BERNARD <romain.bernard@uca.fr> Date: Tue, 12 Mar 2024 18:05:02 +0100 Subject: [PATCH] no need to break here --- src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp b/src/ShortestPath/Transit/TransitShortestPathPrecompute.cpp index 394701b..4bcf332 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); -- GitLab