summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-04-15 10:18:34 -0500
committerAndres Noetzli <andres.noetzli@gmail.com>2018-04-15 08:18:34 -0700
commitc22c31b0dfab057cd41cd276852d27d905274c9a (patch)
tree564a64129499338b368b1ad85bd584437585a197
parentd9bff0c0cd9a056e24d045f4de6912643d2db976 (diff)
Fix mk type const (#1776)
This was a new utility, only used so far by the extended rewriter in EqChain simplification.
-rw-r--r--src/theory/quantifiers/term_util.cpp2
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback