randomltl: avoid #define
As this pollutes the user's namespace. * spot/tl/randomltl.hh: Use class-level enum and constexpr instead of #define. * spot/tl/randomltl.cc, python/spot/__init__.py, bin/randltl.cc, tests/python/dualize.py, tests/python/sum.py: Adjust usage.
This commit is contained in:
parent
565e25502c
commit
fc0ed01a45
6 changed files with 33 additions and 37 deletions
|
|
@ -34,7 +34,7 @@ except RuntimeError:
|
|||
|
||||
|
||||
opts = spot.option_map()
|
||||
opts.set('output', spot.OUTPUTLTL)
|
||||
opts.set('output', spot.randltlgenerator.LTL)
|
||||
opts.set('tree_size_min', 15)
|
||||
opts.set('tree_size_max', 15)
|
||||
opts.set('wf', False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue