Skip to content

Commit

Permalink
Merge pull request #13 from TAPAAL/srba-patch-1
Browse files Browse the repository at this point in the history
Update ColoredPetriNetBuilder.cpp
  • Loading branch information
srba authored Jan 22, 2024
2 parents 0fbaf63 + 9c4666c commit 5948fff
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 5948fff

Please sign in to comment.