mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Fix omission of Z3_model_has_interp in z3++.h
This commit is contained in:
parent
3b70dd6678
commit
758266b952
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue