ltlcross: fix swapped automata in error diagnostic
Failures could be reported against "Comp(Ni)*Comp(Pj)" when it was really "Comp(Nj)*Comp(Pi)" that failed. * bin/ltlcross.cc: Here. * NEWS: Mention the bug.
This commit is contained in:
parent
556db2a203
commit
a2f0b22810
2 changed files with 8 additions and 2 deletions
|
|
@ -1184,8 +1184,8 @@ namespace
|
|||
if (comp_pos[i] && comp_neg[j] &&
|
||||
(i == j || (!comp_neg[i] && !comp_pos[j])))
|
||||
problems +=
|
||||
check_empty_prod(comp_pos[i], comp_neg[j],
|
||||
i, j, true, true);
|
||||
check_empty_prod(comp_neg[j], comp_pos[i],
|
||||
j, i, true, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue