summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quant_util.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-11-10 14:35:25 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2015-11-10 14:35:37 +0100
commit81dca680f6c88d10b56a0ed065d470d907766e21 (patch)
tree4410fa473ecb6848f7976b2b6a00188ac5e44775 /src/theory/quantifiers/quant_util.cpp
parent50c8533760bfd5b1f803d52bc4318c544521e6af (diff)
Fix infinite loop in datatype enumerator. Minor fixes and improvements to cbqi, full saturate. Add option --purify-quant. Use disequality triggers when using relational triggers. Add regressions.
Diffstat (limited to 'src/theory/quantifiers/quant_util.cpp')
-rw-r--r--src/theory/quantifiers/quant_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/quant_util.cpp b/src/theory/quantifiers/quant_util.cpp
index 0b212d696..d289e3938 100644
--- a/src/theory/quantifiers/quant_util.cpp
+++ b/src/theory/quantifiers/quant_util.cpp
@@ -79,7 +79,7 @@ bool QuantArith::getMonomialSumLit( Node lit, std::map< Node, Node >& msum ) {
it->second.isNull() ? NodeManager::currentNM()->mkConst( Rational(1) ) : it->second );
msum[it->first] = Rewriter::rewrite( r );
}else{
- msum[it->first] = negate( it->second.isNull() ? NodeManager::currentNM()->mkConst( Rational(1) ) : it->second );
+ msum[it->first] = it->second.isNull() ? NodeManager::currentNM()->mkConst( Rational(-1) ) : negate( it->second );
}
}
return true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback