is_unabiguous: fix incorrect vector usage
* spot/twaalgos/isunamb.cc: Actually set the size of the vector instead of just reserving the size.
This commit is contained in:
parent
eb8df6d72c
commit
6b96aa4f27
1 changed files with 1 additions and 2 deletions
|
|
@ -89,8 +89,7 @@ namespace spot
|
|||
// derive the usefulness from that.
|
||||
scc_info sccmap_prod(prod);
|
||||
unsigned psc = sccmap_prod.scc_count();
|
||||
std::vector<bool> useful;
|
||||
useful.reserve(psc);
|
||||
std::vector<bool> useful(psc);
|
||||
for (unsigned n = 0; n < psc; ++n)
|
||||
{
|
||||
unsigned one_state = sccmap_prod.states_of(n).front();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue