Skip to content

Commit

Permalink
Exclude dummy event to fix NPE (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
schuessf committed Feb 28, 2023
1 parent 6627482 commit 7405c84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ private void constructNet(final BranchingProcess<LETTER, PLACE> bp) {
}

}
// final Set<Event<LETTER, PLACE>> releventEvents=new HashSet<>(mEventRepresentatives.getAllRepresentatives());
final Set<Event<LETTER, PLACE>> releventEvents = new HashSet<>(mEventRepresentatives.getAllRepresentatives());
releventEvents.remove(mInput.getDummyRoot());

if (mRemoveDeadTransitions) {
final HashRelation<Event<LETTER, PLACE>, Event<LETTER, PLACE>> companion2cutoff = new HashRelation<>();
Expand Down

0 comments on commit 7405c84

Please sign in to comment.