Skip to content

Commit

Permalink
fix #4225
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed May 6, 2020
1 parent bbaedbc commit 93004a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/nlsat/nlsat_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,10 +947,13 @@ namespace nlsat {
}

void mk_clause(unsigned num_lits, literal const * lits, assumption a) {
SASSERT(num_lits > 0);
_assumption_set as = nullptr;
if (a != nullptr)
as = m_asm.mk_leaf(a);
if (num_lits == 0) {
num_lits = 1;
lits = &false_literal;
}
mk_clause(num_lits, lits, false, as);
}

Expand Down

0 comments on commit 93004a9

Please sign in to comment.