From 4d58a48ad9a53cfbb3299f32891efd8af1afa69b Mon Sep 17 00:00:00 2001 From: vsp-gleich Date: Fri, 17 May 2024 18:58:59 +0200 Subject: [PATCH] correct typo --- src/main/java/org/matsim/run/OpenBerlinDrtScenario.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/matsim/run/OpenBerlinDrtScenario.java b/src/main/java/org/matsim/run/OpenBerlinDrtScenario.java index 39a02e26..4c4d09eb 100644 --- a/src/main/java/org/matsim/run/OpenBerlinDrtScenario.java +++ b/src/main/java/org/matsim/run/OpenBerlinDrtScenario.java @@ -115,15 +115,15 @@ protected Config prepareConfig(Config config) { //drt only works with the following sim start time interpretation config.qsim().setSimStarttimeInterpretation(QSimConfigGroup.StarttimeInterpretation.onlyUseStarttime); - MultiModeDrtConfigGroup multiMideDrtCfg = MultiModeDrtConfigGroup.get(config); - DrtConfigs.adjustMultiModeDrtConfig(multiMideDrtCfg, config.scoring(), config.routing()); + MultiModeDrtConfigGroup multiModeDrtCfg = MultiModeDrtConfigGroup.get(config); + DrtConfigs.adjustMultiModeDrtConfig(multiModeDrtCfg, config.scoring(), config.routing()); Set modes = new HashSet<>(); ScoringConfigGroup.ModeParams ptParams = config.scoring().getModes().get(TransportMode.pt); IntermodalTripFareCompensatorsConfigGroup compensatorsConfig = ConfigUtils.addOrGetModule(config, IntermodalTripFareCompensatorsConfigGroup.class); - for (DrtConfigGroup drtCfg : multiMideDrtCfg.getModalElements()) { + for (DrtConfigGroup drtCfg : multiModeDrtCfg.getModalElements()) { modes.add(drtCfg.getMode()); //copy all scoring params from pt