summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/relevant_domain.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-02-27 08:34:59 -0600
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-02-27 08:35:14 -0600
commit251fd73a759a8e5e94103e9b76a06491a92e425b (patch)
tree193cd049c7422b30c6a65ce119f1ac18615037f9 /src/theory/quantifiers/relevant_domain.cpp
parent7a6c462b0ce3adf52a9d44a5f98c53065fedc33d (diff)
Bug fix for QCF algorithm, was missing instantiations. Make prop-eq the default QCF setting. Bug fix to prevent non-ground terms from entering relevant domains.
Diffstat (limited to 'src/theory/quantifiers/relevant_domain.cpp')
-rw-r--r--src/theory/quantifiers/relevant_domain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/relevant_domain.cpp b/src/theory/quantifiers/relevant_domain.cpp
index 0452278f2..952f3409a 100644
--- a/src/theory/quantifiers/relevant_domain.cpp
+++ b/src/theory/quantifiers/relevant_domain.cpp
@@ -190,7 +190,7 @@ void RelevantDomain::computeRelevantDomain( Node n, bool hasPol, bool pol ) {
bool ng = d_qe->getTermDatabase()->hasInstConstAttr( n[oCh] );
//the negative occurrence adds the term to the domain
if( !hasPol || !pol ){
- rds[varCh]->addTerm( n[oCh] );
+ rds[varCh]->addTerm( n[oCh], ng );
}
//the positive occurence adds other terms
if( ( !hasPol || pol ) && n[0].getType().isInteger() ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback