Commit 6b96aa4f authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

is_unabiguous: fix incorrect vector usage

* spot/twaalgos/ Actually set the size of the vector
instead of just reserving the size.
parent eb8df6d7
......@@ -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;
std::vector<bool> useful(psc);
for (unsigned n = 0; n < psc; ++n)
unsigned one_state = sccmap_prod.states_of(n).front();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment