ltlsynt: fix a bug in split_2step_fast_here
* spot/twaalgos/synthesis.cc (split_2step_fast_here::get_ps): Fix the state number recorded in the map. * tests/core/ltlsynt.test: Add test case.
This commit is contained in:
parent
1df5f0e2c7
commit
6464324a2c
2 changed files with 7 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ namespace spot
|
|||
dst_cond_color_t key{std::make_pair(dst, ocond.id()),
|
||||
color};
|
||||
auto [it, inserted] =
|
||||
player_map.try_emplace(key, aut->num_states() + 1);
|
||||
player_map.try_emplace(key, aut->num_states());
|
||||
if (!inserted)
|
||||
return it->second;
|
||||
unsigned ns = aut->new_state();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue