mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
fdc87f286f
commit
f044071f5e
2 changed files with 20 additions and 9 deletions
|
@ -21,7 +21,7 @@ Author:
|
|||
#include "ast/rewriter/var_subst.h"
|
||||
|
||||
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)) {
|
||||
if (m_rec.is_defined(f) && num_args > 0) {
|
||||
for (unsigned i = 0; i < num_args; ++i) {
|
||||
if (!m.is_value(args[i]))
|
||||
return BR_FAILED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue