mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f7a2d08e74
commit
75702c3631
|
@ -22,10 +22,9 @@ Author:
|
|||
|
||||
br_status recfun_rewriter::mk_app_core(func_decl * f, unsigned num_args, expr * const * args, expr_ref & result) {
|
||||
if (m_rec.is_defined(f) && num_args > 0) {
|
||||
for (unsigned i = 0; i < num_args; ++i) {
|
||||
for (unsigned i = 0; i < num_args; ++i)
|
||||
if (!m.is_value(args[i]))
|
||||
return BR_FAILED;
|
||||
}
|
||||
if (!m_rec.has_def(f))
|
||||
return BR_FAILED;
|
||||
recfun::def const& d = m_rec.get_def(f);
|
||||
|
@ -35,9 +34,8 @@ br_status recfun_rewriter::mk_app_core(func_decl * f, unsigned num_args, expr *
|
|||
result = sub(d.get_rhs(), num_args, args);
|
||||
return BR_REWRITE_FULL;
|
||||
}
|
||||
else {
|
||||
else
|
||||
return BR_FAILED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue