From f3270fb3629cbc62012ae7eb30843a1bc6d4e3c2 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Sat, 25 Nov 2017 14:12:00 -0600 Subject: Fixes for higher-order (#1405) --- src/theory/quantifiers/term_util.cpp | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/theory/quantifiers/term_util.cpp') diff --git a/src/theory/quantifiers/term_util.cpp b/src/theory/quantifiers/term_util.cpp index 4e75f7df8..def9a68bc 100644 --- a/src/theory/quantifiers/term_util.cpp +++ b/src/theory/quantifiers/term_util.cpp @@ -113,10 +113,19 @@ Node TermUtil::getRemoveQuantifiers2( Node n, std::map< Node, Node >& visited ) Node TermUtil::getInstConstAttr( Node n ) { if (!n.hasAttribute(InstConstantAttribute()) ){ Node q; - for( unsigned i=0; i& varCont varContains.push_back( n ); } }else{ + if (n.hasOperator()) + { + computeVarContains2(n.getOperator(), k, varContains, visited); + } for( unsigned i=0; i