mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 09:44:43 +00:00
trace down recent exposed regression in goal2sat, incorporate Scott's suggestion on making vector<std::string inaccessible
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
81232808ba
commit
c3f4124a9f
6 changed files with 17 additions and 15 deletions
|
@ -107,13 +107,10 @@ void func_interp::reset_interp_cache() {
|
|||
|
||||
bool func_interp::is_fi_entry_expr(expr * e, ptr_vector<expr> & args) {
|
||||
args.reset();
|
||||
if (!is_app(e) || !m().is_ite(to_app(e)))
|
||||
expr* c, *t, *f;
|
||||
if (!m().is_ite(e, c, t, f)) {
|
||||
return false;
|
||||
|
||||
app * a = to_app(e);
|
||||
expr * c = a->get_arg(0);
|
||||
expr * t = a->get_arg(1);
|
||||
expr * f = a->get_arg(2);
|
||||
}
|
||||
|
||||
if ((m_arity == 0) ||
|
||||
(m_arity == 1 && (!m().is_eq(c) || to_app(c)->get_num_args() != 2)) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue