3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-10 17:25:47 +00:00

filter instantiations for model values to fix issue #183

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-08-06 14:43:08 +02:00
parent f96c0b6963
commit 6780784bcf
2 changed files with 3 additions and 4 deletions

View file

@ -170,11 +170,9 @@ namespace smt {
if (sk_term != 0) {
sk_value = sk_term;
}
else {
if (m_manager.is_model_value(sk_value))
return false;
}
}
if (m_manager.is_model_value(sk_value))
return false;
bindings.set(num_decls - i - 1, sk_value);
}