diff --git a/contribs/application/src/main/java/org/matsim/application/analysis/population/TripByGroupAnalysis.java b/contribs/application/src/main/java/org/matsim/application/analysis/population/TripByGroupAnalysis.java index b4073266def..62d95d0a152 100644 --- a/contribs/application/src/main/java/org/matsim/application/analysis/population/TripByGroupAnalysis.java +++ b/contribs/application/src/main/java/org/matsim/application/analysis/population/TripByGroupAnalysis.java @@ -117,7 +117,7 @@ void analyzeModeShare(Table trips, List dists, Function ou ); String name = String.join("_", group.columns); - aggr.write().csv(output.apply(name).toFile()); + joined.write().csv(output.apply(name).toFile()); } }