3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

removing const qualifiers, perhaps this helps for #420 and adding assert to enable Clang analysis earlier for issue #440

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-02-09 22:23:37 +00:00
parent 60c0e73b2f
commit 5ce85aba40
8 changed files with 86 additions and 87 deletions

View file

@ -36,6 +36,7 @@ namespace sat {
memcpy(m_lits, lits, sizeof(literal) * sz);
mark_strengthened();
SASSERT(check_approx());
SASSERT(sz > 1);
}
var_approx_set clause::approx(unsigned num, literal const * lits) {