3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +00:00

fix proof generation for unit resolution. Issue #691

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-07-20 11:54:39 -07:00
parent 6559fd817d
commit 5f39c4371c
3 changed files with 10 additions and 6 deletions

View file

@ -52,6 +52,7 @@ namespace smt {
tout << lits[i] << " ";
}
tout << "\n";);
SASSERT(m_num_literals > 0);
}
unit_resolution_justification::unit_resolution_justification(justification * js,
@ -68,6 +69,7 @@ namespace smt {
tout << lits[i] << " ";
}
tout << "\n";);
SASSERT(num_lits != 0);
}
unit_resolution_justification::~unit_resolution_justification() {