Commit 7c55500d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

never: fix output of accepting initial states

* src/tgbaalgos/neverclaim.cc: Make sure the any accepting initial state
is not output as an accept_all state.  This bug caused ltl2dstar.test to
fail.
parent f3f43051
......@@ -126,7 +126,8 @@ namespace spot
void process_state(unsigned n)
{
if (aut_->state_is_accepting(n) && is_sink(n))
if (aut_->state_is_accepting(n) && is_sink(n)
&& n != aut_->get_init_state_number())
{
// We want the accept_all state at the end of the never claim.
need_accept_all_ = true;
......
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