3
0
Fork 0
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:
cttghc 2016-09-06 18:32:41 -05:00 committed by GitHub
parent 3b70dd6678
commit 758266b952

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