product: fix handling of output_aborter
* spot/twaalgos/product.cc: The res pointer should be passed by reference since we reset it to nullptr when output_aborter says "too large". * python/spot/impl.i: Add binding for powerset.hh, so we can use output_aborter in Python. * tests/python/prodexpt.py: Test it.
This commit is contained in:
parent
396dcabd7d
commit
1d7ad07c83
3 changed files with 71 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ namespace spot
|
|||
const const_twa_graph_ptr& right,
|
||||
unsigned left_state,
|
||||
unsigned right_state,
|
||||
twa_graph_ptr res, T merge_acc,
|
||||
twa_graph_ptr& res, T merge_acc,
|
||||
const output_aborter* aborter)
|
||||
{
|
||||
std::unordered_map<product_state, unsigned, product_state_hash> s2n;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue