3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

bail out of mb branching if lengths are not available

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-15 15:44:17 -07:00
parent 40b4ca7f86
commit e6174c89f3

View file

@ -1485,7 +1485,7 @@ bool theory_seq::branch_variable_mb() {
}
if (!enforce_length(e.ls(), len1) || !enforce_length(e.rs(), len2)) {
change = true;
// change = true;
continue;
}
rational l1, l2;
@ -5522,7 +5522,7 @@ bool theory_seq::get_length(expr* e, rational& val) {
else {
len = mk_len(c);
if (m_arith_value.get_value(len, val1) && !val1.is_neg()) {
val += val1;
val += val1;
}
else {
TRACE("seq", tout << "length has not been internalized " << mk_pp(c, m) << "\n";);