Skip to content

Functional Rates: token_number expression (#(ID)) excludes zero #119

@paternostrox

Description

@paternostrox

I really got the impression that by using token_number expression (#(ID)), the output should be the real number of tokens in a place, so using purely "#(ID)" in an arc, the arc should check how many tokens are in ID, and consume that amount, no matter what is the number... But for some reason that doesn't work with zero, is this expected to happen?

Image of a test, as you can see T0 is not enabled and will only be enabled if P0 has one or more tokens.

asda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions