Skip to content

Commit

Permalink
Rollback : weight is now "inf", hardcoded to be sure
Browse files Browse the repository at this point in the history
  • Loading branch information
tand00 committed Sep 23, 2024
1 parent bc24e33 commit a4410d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/TAPN/TimedArcPetriNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ namespace TAPN {
<< "\" urgent=\"" << std::boolalpha << transition->isUrgent()
<< "\" weight=\"" << (
transition->getWeight() == std::numeric_limits<double>::infinity() ?
"Infinity" : std::to_string(transition->getWeight())
"inf" : std::to_string(transition->getWeight())
)
<< "\" firingMode=\"" << SMC::firingModeName(transition->getFiringMode())
<< "\" " << transition->getDistribution().toXML()
Expand Down

0 comments on commit a4410d2

Please sign in to comment.