mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 17:54:43 +00:00
fix assertion for integrality, lax noprogress bail out code
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
53f82e3239
commit
465eafbf45
2 changed files with 6 additions and 2 deletions
|
@ -204,7 +204,7 @@ namespace smt {
|
|||
bool theory_arith<Ext>::satisfy_integrality() const {
|
||||
int num = get_num_vars();
|
||||
for (theory_var v = 0; v < num; v++) {
|
||||
if (!(is_int(v) && get_value(v).is_int())) {
|
||||
if (is_int(v) && !get_value(v).is_int()) {
|
||||
TRACE("bound_bug", display_var(tout, v); display(tout););
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue