summaryrefslogtreecommitdiff
path: root/src/expr/term_context_node.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/expr/term_context_node.cpp
parent8c9fff99a2be7369e33520a120e25e6d8c3ec07c (diff)
Initial cut at distinguishing uses of CONST_RATIONAL (#7682)
Diffstat (limited to 'src/expr/term_context_node.cpp')
-rw-r--r--src/expr/term_context_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/term_context_node.cpp b/src/expr/term_context_node.cpp
index 3be9faad0..91e6dbfd3 100644
--- a/src/expr/term_context_node.cpp
+++ b/src/expr/term_context_node.cpp
@@ -54,7 +54,7 @@ Node TCtxNode::getNodeHash() const { return computeNodeHash(d_node, d_val); }
Node TCtxNode::computeNodeHash(Node n, uint32_t val)
{
NodeManager* nm = NodeManager::currentNM();
- return nm->mkNode(kind::SEXPR, n, nm->mkConst(CONST_RATIONAL, Rational(val)));
+ return nm->mkNode(kind::SEXPR, n, nm->mkConstInt(Rational(val)));
}
Node TCtxNode::decomposeNodeHash(Node h, uint32_t& val)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback