Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vsp-gleich committed May 17, 2024
1 parent 004f8d7 commit 4d58a48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/matsim/run/OpenBerlinDrtScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> 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
Expand Down

0 comments on commit 4d58a48

Please sign in to comment.