is_unambiguous: fix false negatives
Reported by Simon Jantsch and David Müller. * tests/core/unambig.test: Test the issue. * spot/twaalgos/isunamb.cc: Fix it. * NEWS: Mention it. * THANKS: Add Simon.
This commit is contained in:
parent
6cec43294d
commit
568a6180f1
4 changed files with 56 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ namespace spot
|
|||
unsigned one_state = sccmap_prod.states_of(n).front();
|
||||
bool accepting =
|
||||
v[(*sprod)[one_state].first] && v[(*sprod)[one_state].second];
|
||||
if (accepting)
|
||||
if (accepting && !sccmap_prod.is_trivial(n))
|
||||
{
|
||||
useful[n] = true;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue