* src/tgba/tgbasafracomplement.cc: Fix two asserts.
This commit is contained in:
parent
73d9f65d2c
commit
ff3c02f51d
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2011-10-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
|
* src/tgba/tgbasafracomplement.cc: Fix two asserts.
|
||||||
|
|
||||||
2011-10-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
2011-10-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
Improve the print_safra_automaton output.
|
Improve the print_safra_automaton output.
|
||||||
|
|
|
||||||
|
|
@ -1129,7 +1129,7 @@ namespace spot
|
||||||
tgba_safra_complement::tgba_safra_complement(const tgba* a)
|
tgba_safra_complement::tgba_safra_complement(const tgba* a)
|
||||||
: automaton_(a), safra_(safra_determinisation::create_safra_automaton(a))
|
: automaton_(a), safra_(safra_determinisation::create_safra_automaton(a))
|
||||||
{
|
{
|
||||||
assert(safra_ || "safra construction fails");
|
assert(safra_ || !"safra construction fails");
|
||||||
|
|
||||||
// We will use one acceptance condition for this automata.
|
// We will use one acceptance condition for this automata.
|
||||||
// Let's call it Acc[True].
|
// Let's call it Acc[True].
|
||||||
|
|
@ -1292,7 +1292,7 @@ namespace spot
|
||||||
|
|
||||||
return new tgba_safra_complement_succ_iterator(succ_list, condition);
|
return new tgba_safra_complement_succ_iterator(succ_list, condition);
|
||||||
}
|
}
|
||||||
assert("Safra automaton does not find this node");
|
assert(!"Safra automaton does not find this node");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue