3
0
Fork 0
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:
Nikolaj Bjorner 2016-09-07 11:13:24 +08:00 committed by GitHub
commit 520f8fc60e

View file

@ -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);
};