diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-03-02 16:40:39 -0600 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-03-02 16:40:39 -0600 |
commit | 161fae584b4019ca472a5657a46bb18486b367e9 (patch) | |
tree | 9afb2918786a2db570a5a79d224af60b29cc18a4 /src/theory/quantifiers | |
parent | 96b699bc6cccd1ade32e2d5ef73ce004063b8201 (diff) |
Fixes related to sets.
Diffstat (limited to 'src/theory/quantifiers')
-rw-r--r-- | src/theory/quantifiers/bounded_integers.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/quantifiers/bounded_integers.cpp b/src/theory/quantifiers/bounded_integers.cpp index 37fbff03a..6b53612d7 100644 --- a/src/theory/quantifiers/bounded_integers.cpp +++ b/src/theory/quantifiers/bounded_integers.cpp @@ -657,6 +657,10 @@ Node BoundedIntegers::getSetRangeValue( Node q, Node v, RepSetIterator * rsi ) { if( !sr.isNull() ){ Trace("bound-int-rsi") << "Get value in model for..." << sr << std::endl; sr = d_quantEngine->getModel()->getCurrentModelValue( sr ); + //if non-constant, then sr does not occur in the model, we fail + if( !sr.isConst() ){ + return Node::null(); + } Trace("bound-int-rsi") << "Value is " << sr << std::endl; //as heuristic, map to term model if( sr.getKind()!=EMPTYSET ){ |