Commit 314993b2 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

hoa: add two asserts

* src/tgbaalgos/ Here.
parent 0b8b65f9
......@@ -131,6 +131,11 @@ namespace spot
is_deterministic = deterministic;
is_complete = complete;
has_state_acc = state_acc;
// If the automaton declares that it is deterministic or
// state-based, make sure that it really is.
assert(!aut->is_deterministic() || deterministic);
assert(!aut->has_state_based_acc() || state_acc);
void number_all_ap()
Supports Markdown
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