diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-04-15 10:18:34 -0500 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-04-15 08:18:34 -0700 |
commit | c22c31b0dfab057cd41cd276852d27d905274c9a (patch) | |
tree | 564a64129499338b368b1ad85bd584437585a197 /src/theory/quantifiers/term_util.cpp | |
parent | d9bff0c0cd9a056e24d045f4de6912643d2db976 (diff) |
Fix mk type const (#1776)
This was a new utility, only used so far by the extended rewriter in EqChain simplification.
Diffstat (limited to 'src/theory/quantifiers/term_util.cpp')
-rw-r--r-- | src/theory/quantifiers/term_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/term_util.cpp b/src/theory/quantifiers/term_util.cpp index a8abd41eb..7cebf0e1e 100644 --- a/src/theory/quantifiers/term_util.cpp +++ b/src/theory/quantifiers/term_util.cpp @@ -919,7 +919,7 @@ Node TermUtil::getTypeValueOffset(TypeNode tn, Node TermUtil::mkTypeConst(TypeNode tn, bool pol) { - return pol ? mkTypeValue(tn, 0) : mkTypeMaxValue(tn); + return pol ? mkTypeMaxValue(tn) : mkTypeValue(tn, 0); } bool TermUtil::isAntisymmetric(Kind k, Kind& dk) |