3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-22 12:14:34 -07:00
parent 6c1d0f6ea0
commit 077024f024

View file

@ -585,7 +585,8 @@ struct nnf::imp {
bool is_eq(app * t) const { return m.is_eq(t); }
bool process_iff_xor(app * t, frame & fr) {
SASSERT(t->get_num_args() == 2);
if (t->get_num_args() != 2)
throw default_exception("apply simplification before nnf to normalize arguments to xor/=");
switch (fr.m_i) {
case 0:
fr.m_i = 1;