mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
Merge pull request #730 from cttghc/patch-1
Fix omission of Z3_model_has_interp in z3++.h
This commit is contained in:
commit
520f8fc60e
|
@ -1615,6 +1615,13 @@ namespace z3 {
|
|||
check_error();
|
||||
return func_interp(ctx(), r);
|
||||
}
|
||||
|
||||
// returns true iff the model contains an interpretation
|
||||
// for function f.
|
||||
bool has_interp(func_decl f) const {
|
||||
check_context(*this, f);
|
||||
return Z3_model_has_interp(ctx(), m_model, f);
|
||||
}
|
||||
|
||||
friend std::ostream & operator<<(std::ostream & out, model const & m);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue