3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-05 13:10:23 +00:00

deal with compiler warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-10-13 17:55:47 +02:00
parent 66469bb678
commit 2d8b7b5ac6
4 changed files with 13 additions and 14 deletions

View file

@ -325,9 +325,9 @@ namespace polysat {
m_vars.insert(v);
}
void conflict::add_lemma(signed_constraint const* cs, unsigned cs_len) {
void conflict::add_lemma(signed_constraint const* cs, size_t cs_len) {
clause_builder cb(s);
for (unsigned i = 0; i < cs_len; ++i)
for (size_t i = 0; i < cs_len; ++i)
cb.push(cs[i]);
clause_ref lemma = cb.build();
SASSERT(lemma);