From 2e162eac469e010921250637760e9d23bdc5316a Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Thu, 20 Mar 2014 16:10:04 -0500 Subject: [PATCH] Minor fix for CBQI, ignore inst constant nodes. --- src/theory/quantifiers/inst_strategy_e_matching.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/theory/quantifiers/inst_strategy_e_matching.cpp b/src/theory/quantifiers/inst_strategy_e_matching.cpp index f60e01a7d..0353b0b5f 100644 --- a/src/theory/quantifiers/inst_strategy_e_matching.cpp +++ b/src/theory/quantifiers/inst_strategy_e_matching.cpp @@ -389,6 +389,14 @@ int InstStrategyFreeVariable::process( Node f, Theory::Effort effort, int e ){ }else{ Assert( index==(int)(childIndex.size())-1 ); unsigned nv = childIndex[index]+1; + if( options::cbqi() ){ + //skip inst constant nodes + while( nvgetTermDatabase()->d_type_map[f[0][index].getType()][nv] ) ){ + childIndex[index]++; + nv = childIndex[index]+1; + } + } if( nv