matthewryanscott / CarlAdam

Petri net modeling and simulation for Python using immutable data structures
MIT License
5 stars 1 forks source link

Trouble producing more than 1 token of the same color #2

Open henriquebastos opened 7 months ago

henriquebastos commented 7 months ago

I tried Transaction(fn=[Abstract.produce(), MyColor.produce(3)]) but I got an exception saying MyColor tokens were not produced.

matthewryanscott commented 7 months ago

Can you provide example code or test case that fails?