From 118e998b926870e817cd57c49b91fdb27948e828 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Wed, 20 Feb 2013 18:11:54 -0500 Subject: [PATCH] Fix for SmtEngine::expandDefinitions()---improper TypeCheckingException --- src/smt/smt_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index 2a73cb444..5a4c1ca58 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -1285,7 +1285,7 @@ Node SmtEnginePrivate::expandDefinitions(TNode n, hash_mapend()) { // replacement must be closed if((*i).second.getFormals().size() > 0) { - throw TypeCheckingException(n.toExpr(), string("Defined function requires arguments: `") + n.toString() + "'"); + //throw TypeCheckingException(n.toExpr(), string("Defined function requires arguments: `") + n.toString() + "'"); } // don't bother putting in the cache return (*i).second.getFormula(); -- 2.30.2