summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/term_util.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-12-13 13:48:49 -0600
committerGitHub <noreply@github.com>2021-12-13 19:48:49 +0000
commit1e6c7645d3d98ba734ab73ed76c7785b572b86c8 (patch)
treeaa006c9a8a6264085493b0082a873046cb14536f /src/theory/quantifiers/term_util.cpp
parent8c9fff99a2be7369e33520a120e25e6d8c3ec07c (diff)
Initial cut at distinguishing uses of CONST_RATIONAL (#7682)
Diffstat (limited to 'src/theory/quantifiers/term_util.cpp')
-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 1dfcc044e..18f9ec7e2 100644
--- a/src/theory/quantifiers/term_util.cpp
+++ b/src/theory/quantifiers/term_util.cpp
@@ -332,7 +332,7 @@ Node TermUtil::mkTypeValue(TypeNode tn, int32_t val)
if (tn.isRealOrInt())
{
Rational c(val);
- n = NodeManager::currentNM()->mkConst(CONST_RATIONAL, c);
+ n = NodeManager::currentNM()->mkConstRealOrInt(tn, c);
}
else if (tn.isBitVector())
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback