Skip to content

Commit

Permalink
Update ColoredPetriNetBuilder.cpp
Browse files Browse the repository at this point in the history
fixing an issue for non-colored net unfolding
  • Loading branch information
srba authored Jan 22, 2024
1 parent 0fbaf63 commit 9c4666c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Colored/ColoredPetriNetBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ namespace unfoldtacpn {
for (auto& b : gen) {

std::string name = transition.name;
//if(!gen.isInitial())
name += "__" + std::to_string(i++);
if(!gen.isInitial())
name += "__" + std::to_string(i++);

// Print bindings for each transition if output stream exists
if (_output_stream) {
Expand Down

0 comments on commit 9c4666c

Please sign in to comment.