diff --git a/src/state.cpp b/src/state.cpp index f8e6f878..68dab6ca 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -727,6 +727,10 @@ Expr State::mkExpr(Kind k, const std::vector& children) Trace("state") << "BETA_REDUCE " << Expr((*hd)[1]) << " " << ctx << " = " << ret << std::endl; return ret; } + else + { + Warning() << "Wrong number of arguments when applying " << Expr(hd) << std::endl; + } } else if (hk==Kind::PROGRAM_CONST || hk==Kind::ORACLE) {