Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
simei94 committed Jun 20, 2024
1 parent a8f772b commit 3306e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/matsim/run/RunLausitzDrtScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ protected void prepareScenario(Scenario scenario) {
scenario.getVehicles().addVehicleType(drtType);
}

// if there are no vehicles of above type: add some
//TODO: is the following if clause needed when using the DRT Estimator?!
// if there are no vehicles of above type: add some
if (scenario.getVehicles().getVehicles().values().stream().filter(v -> v.getType().getId().equals(drtTypeId)).toList().isEmpty()) {

for (int i = 1; i <= 10; i++) {
Expand Down

0 comments on commit 3306e0a

Please sign in to comment.