diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-06-04 13:58:14 -0500 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-06-04 11:58:14 -0700 |
commit | db491e2e8100101f30e3f211a3c5da55686f7d27 (patch) | |
tree | 15907815b8231b7761f131d2ec96c8e82246f0d6 /src/theory/quantifiers | |
parent | 8b7a4af93226b2ecb82814a7609855deea0230cd (diff) |
Enable cegqi (with model values) for floating point by default (#2023)
Diffstat (limited to 'src/theory/quantifiers')
-rw-r--r-- | src/theory/quantifiers/cegqi/ceg_instantiator.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/quantifiers/cegqi/ceg_instantiator.cpp b/src/theory/quantifiers/cegqi/ceg_instantiator.cpp index 9dd0bdb04..b18ebcdce 100644 --- a/src/theory/quantifiers/cegqi/ceg_instantiator.cpp +++ b/src/theory/quantifiers/cegqi/ceg_instantiator.cpp @@ -153,7 +153,8 @@ CegHandledStatus CegInstantiator::isCbqiKind(Kind k) // CBQI typically works for satisfaction-complete theories TheoryId t = kindToTheoryId(k); - if (t == THEORY_BV || t == THEORY_DATATYPES || t == THEORY_BOOL) + if (t == THEORY_BV || t == THEORY_FP || t == THEORY_DATATYPES + || t == THEORY_BOOL) { return CEG_HANDLED; } @@ -221,7 +222,8 @@ CegHandledStatus CegInstantiator::isCbqiSort( return itv->second; } CegHandledStatus ret = CEG_UNHANDLED; - if (tn.isInteger() || tn.isReal() || tn.isBoolean() || tn.isBitVector()) + if (tn.isInteger() || tn.isReal() || tn.isBoolean() || tn.isBitVector() + || tn.isFloatingPoint()) { ret = CEG_HANDLED; } |