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

fix build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-07-13 14:20:21 -07:00
parent b81f70f6fc
commit 8e23af33d7

View file

@ -2793,8 +2793,7 @@ bool theory_seq::get_length(expr* e, rational& val) {
todo.push_back(c);
else if (m_util.str.is_string(c, s))
val += rational(s.length());
else
continue;
else {
len = mk_len(c);
if (!has_length(c)) {
add_axiom(mk_literal(m_autil.mk_ge(len, m_autil.mk_int(0))));
@ -2808,6 +2807,7 @@ bool theory_seq::get_length(expr* e, rational& val) {
return false;
}
}
}
CTRACE("seq", !val.is_int(), tout << "length is not an integer\n";);
return val.is_int();
}