Skip to content

Commit

Permalink
replaced HashMap with LinkedHashMap -> output files are correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenzotong committed Oct 24, 2023
1 parent a18a2b7 commit b111ebf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void notifyIterationEnds(IterationEndsEvent event) {
}

//choose profiles which only happened during operation time
Map<String, double[]> profilesInOperationTime = new HashMap<>();
Map<String, double[]> profilesInOperationTime = new LinkedHashMap<>();
Set<String> profilesKeys = profiles.keySet();
for (String key : profilesKeys){
List<Double> arrayList = new ArrayList<>();
Expand Down

0 comments on commit b111ebf

Please sign in to comment.