Fix return of is_deterministic(), it was inverted.
Reported by Étienne Renault. * src/tgbaalgos/isdet.cc (is_deterministic): Invert return code. * src/tgbatest/nondet.test: New file. * src/tgbatest/Makefile.am (TESTS): Add it.
This commit is contained in:
parent
7854f629e5
commit
4ed4e4d2a8
3 changed files with 42 additions and 1 deletions
|
|
@ -106,6 +106,6 @@ namespace spot
|
|||
bool
|
||||
is_deterministic(const tgba* aut)
|
||||
{
|
||||
return !!count_nondet_states_aux(aut, false);
|
||||
return !count_nondet_states_aux(aut, false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue