projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80919c4
)
Fix for SmtEngine::expandDefinitions()---improper TypeCheckingException
author
Morgan Deters
<mdeters@cs.nyu.edu>
Wed, 20 Feb 2013 23:11:54 +0000
(18:11 -0500)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Thu, 21 Mar 2013 16:48:51 +0000
(12:48 -0400)
src/smt/smt_engine.cpp
patch
|
blob
|
history
diff --git
a/src/smt/smt_engine.cpp
b/src/smt/smt_engine.cpp
index 2a73cb444007b45fc1b23a627ecf1d4f9d9304d0..5a4c1ca58f615c2d829a94dd426ac05e032c0d00 100644
(file)
--- a/
src/smt/smt_engine.cpp
+++ b/
src/smt/smt_engine.cpp
@@
-1285,7
+1285,7
@@
Node SmtEnginePrivate::expandDefinitions(TNode n, hash_map<Node, Node, NodeHashF
if(i != d_smt.d_definedFunctions->end()) {
// 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();