From ce0a530904dd00e7dfa065a500af523e7ee2a75e Mon Sep 17 00:00:00 2001 From: GregorRyb Date: Fri, 29 Dec 2023 14:21:39 +0100 Subject: [PATCH] fix test --- src/main/java/org/matsim/run/LeipzigRouterPlanAlgorithm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/matsim/run/LeipzigRouterPlanAlgorithm.java b/src/main/java/org/matsim/run/LeipzigRouterPlanAlgorithm.java index 39794bde..29621f16 100644 --- a/src/main/java/org/matsim/run/LeipzigRouterPlanAlgorithm.java +++ b/src/main/java/org/matsim/run/LeipzigRouterPlanAlgorithm.java @@ -270,7 +270,7 @@ private List createTripForParkingAtDestination(TripStructureUtils.T private Link chooseParkingLink(Activity activity, Facility facility) { Network networkToSearchIn; //parking at destination - if(isParkingRelevantActivity(activity)){ + if(!isParkingRelevantActivity(activity)){ networkToSearchIn = fullModalNetwork; } else { networkToSearchIn = reducedNetwork;