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:
parent
f96c0b6963
commit
6780784bcf
2 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue