mirror of
https://github.com/Z3Prover/z3
synced 2025-06-03 04:41:21 +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
1 changed files with 7 additions and 0 deletions
|
@ -1615,6 +1615,13 @@ namespace z3 {
|
||||||
check_error();
|
check_error();
|
||||||
return func_interp(ctx(), r);
|
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);
|
friend std::ostream & operator<<(std::ostream & out, model const & m);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue