Skip to content

Commit

Permalink
Merge pull request #2472 from lf-lang/dagstuhl
Browse files Browse the repository at this point in the history
Use LinkedHashSet instead of HashSet to remove non-determinism in fed-gen
  • Loading branch information
edwardalee authored Feb 11, 2025
2 parents c77ea97 + 8450eed commit 4200889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public Instantiation getInstantiation() {
}

/** A list of individual connections between federates */
public Set<FedConnectionInstance> connections = new HashSet<>();
public Set<FedConnectionInstance> connections = new LinkedHashSet<>();

/** The counter used to assign IDs to network senders. */
public int networkIdSender = 0;
Expand Down

0 comments on commit 4200889

Please sign in to comment.