randltl: fix generation without unary operators
* spot/tl/randomltl.hh (has_unary_ops): New method. * spot/tl/randomltl.cc: Avoid creating subformulas of even size when we do not have unary operators. * tests/core/randpsl.test: Test it. * NEWS: Mention it.
This commit is contained in:
parent
bdc63db9f0
commit
97832af321
4 changed files with 61 additions and 6 deletions
5
NEWS
5
NEWS
|
|
@ -1,6 +1,9 @@
|
|||
New in spot 2.12.0.dev (not yet released)
|
||||
|
||||
Nothing yet.
|
||||
Bug fixes:
|
||||
|
||||
- Generating random formula without any unary opertors would very
|
||||
often create formulas much smaller than asked.
|
||||
|
||||
New in spot 2.12 (2024-05-16)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue