summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quant_util.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-12-06 11:16:35 -0600
committerajreynol <andrew.j.reynolds@gmail.com>2016-12-06 11:16:49 -0600
commit4db65cbaf87f87dba3682e88563f5a923f265152 (patch)
tree283104c9066f29d86ced8ee554ad0b08491523a6 /src/theory/quantifiers/quant_util.cpp
parent14ec91ed77b816d77de60fbf6e77066da194d791 (diff)
Improve bounds for global heap in sep, refactor preprocessing. Minor improvement to sets.
Diffstat (limited to 'src/theory/quantifiers/quant_util.cpp')
-rw-r--r--src/theory/quantifiers/quant_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/quantifiers/quant_util.cpp b/src/theory/quantifiers/quant_util.cpp
index f4284a8ab..c0595d3d9 100644
--- a/src/theory/quantifiers/quant_util.cpp
+++ b/src/theory/quantifiers/quant_util.cpp
@@ -404,8 +404,8 @@ void QuantPhaseReq::getPolarity( Node n, int child, bool hasPol, bool pol, bool&
}
void QuantPhaseReq::getEntailPolarity( Node n, int child, bool hasPol, bool pol, bool& newHasPol, bool& newPol ) {
- if( n.getKind()==AND || n.getKind()==OR ){
- newHasPol = hasPol && pol==( n.getKind()==AND );
+ if( n.getKind()==AND || n.getKind()==OR || n.getKind()==SEP_STAR ){
+ newHasPol = hasPol && pol!=( n.getKind()==OR );
newPol = pol;
}else if( n.getKind()==IMPLIES ){
newHasPol = hasPol && !pol;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback