3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-05-10 10:33:43 -07:00
parent 28328e63fd
commit a61e9d6b49
2 changed files with 3 additions and 1 deletions

View file

@ -577,6 +577,8 @@ struct goal2sat::imp : public sat::sat_internalizer {
}
void convert_iff2(app * t, bool root, bool sign) {
if (t->get_num_args() != 2)
throw default_exception("unexpected number of arguments to xor");
SASSERT(t->get_num_args() == 2);
unsigned sz = m_result_stack.size();
SASSERT(sz >= 2);