Merge lp:~tapaal-ltl/verifypn/fireable-empty-preset-fix into lp:verifypn
Proposed by
Nikolaj Jensen Ulrik
Status: | Merged |
---|---|
Approved by: | Jiri Srba |
Approved revision: | 248 |
Merged at revision: | 248 |
Proposed branch: | lp:~tapaal-ltl/verifypn/fireable-empty-preset-fix |
Merge into: | lp:verifypn |
Diff against target: |
13 lines (+3/-0) 1 file modified
src/PetriEngine/PQL/Expressions.cpp (+3/-0) |
To merge this branch: | bzr merge lp:~tapaal-ltl/verifypn/fireable-empty-preset-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jiri Srba | Approve | ||
Peter Gjøl Jensen | Approve | ||
Review via email:
|
Description of the change
When unfolding is-fireable(t) for t with empty preset, it becomes an AndCondition with no conditions, causing a segmentation fault when attempting to interact with it. This patch instead inserts True in that case, assuming an empty preset transition is always enabled.
To post a comment you must log in.
LGTM.