From db0cf2f0ce7ea8d9afa93f5a7f97782f56c48ac7 Mon Sep 17 00:00:00 2001 From: nkuehnel Date: Tue, 21 Nov 2023 17:08:03 +0100 Subject: [PATCH] fix compilation issues --- .../main/java/org/matsim/contrib/drt/passenger/DrtRequest.java | 2 +- .../matsim/contrib/dvrp/examples/onetaxi/OneTaxiRequest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contribs/drt/src/main/java/org/matsim/contrib/drt/passenger/DrtRequest.java b/contribs/drt/src/main/java/org/matsim/contrib/drt/passenger/DrtRequest.java index 34d5cf8604b..e1c034f2a92 100644 --- a/contribs/drt/src/main/java/org/matsim/contrib/drt/passenger/DrtRequest.java +++ b/contribs/drt/src/main/java/org/matsim/contrib/drt/passenger/DrtRequest.java @@ -121,7 +121,7 @@ public String getMode() { } @Override - public int getPartySize() { + public int getPassengerCount() { return passengerIds.size(); } diff --git a/contribs/dvrp/src/main/java/org/matsim/contrib/dvrp/examples/onetaxi/OneTaxiRequest.java b/contribs/dvrp/src/main/java/org/matsim/contrib/dvrp/examples/onetaxi/OneTaxiRequest.java index 745d92fd153..de9f9f0936b 100644 --- a/contribs/dvrp/src/main/java/org/matsim/contrib/dvrp/examples/onetaxi/OneTaxiRequest.java +++ b/contribs/dvrp/src/main/java/org/matsim/contrib/dvrp/examples/onetaxi/OneTaxiRequest.java @@ -91,7 +91,7 @@ public String getMode() { } @Override - public int getPartySize() { + public int getPassengerCount() { return passengerIds.size(); }