3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

fix build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-01-28 12:06:14 -08:00
parent 3e191d5cc5
commit 2f6c80ef08

View file

@ -43,10 +43,7 @@ namespace sat {
// and the following procedure flips its value.
bool sat = false;
bool var_sign = false;
literal_vector::const_iterator it2 = it->m_clauses.begin();
literal_vector::const_iterator end2 = it->m_clauses.end();
for (; it2 != end2; ++it2) {
literal l = *it2;
for (literal l : it->m_clauses) {
if (l == null_literal) {
// end of clause
if (!sat) {
@ -74,7 +71,7 @@ namespace sat {
DEBUG_CODE({
// all clauses must be satisfied
bool sat = false;
for (literal l : m_clauses) {
for (literal l : it->m_clauses) {
if (l == null_literal) {
SASSERT(sat);
sat = false;