summaryrefslogtreecommitdiff
path: root/src/theory/uf
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2021-03-11 11:05:58 -0800
committerGitHub <noreply@github.com>2021-03-11 19:05:58 +0000
commitdc679ed380aabc62aadfbb4033c02c5a27ae903c (patch)
treeeae38a0bcbd56104c4e381e84d7f8c724104d365 /src/theory/uf
parentc314b0162c7fa089c400e11bd72c4ca24a26c9d0 (diff)
Delete Expr layer. (#6117)
Diffstat (limited to 'src/theory/uf')
-rw-r--r--src/theory/uf/equality_engine.cpp2
-rw-r--r--src/theory/uf/theory_uf_type_rules.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/uf/equality_engine.cpp b/src/theory/uf/equality_engine.cpp
index 3eb0ed629..1c5419977 100644
--- a/src/theory/uf/equality_engine.cpp
+++ b/src/theory/uf/equality_engine.cpp
@@ -1076,7 +1076,7 @@ void EqualityEngine::buildEqConclusion(EqualityNodeId id1,
<< id2 << "} " << d_nodes[id2] << "\n";
// if has at least as many children as the minimal
// number of children of the n-ary kind, build the node
- if (numChildren >= ExprManager::minArity(k1))
+ if (numChildren >= kind::metakind::getMaxArityForKind(k1))
{
std::vector<Node> children;
for (unsigned j = 0; j < numChildren; ++j)
diff --git a/src/theory/uf/theory_uf_type_rules.h b/src/theory/uf/theory_uf_type_rules.h
index 926c0b0f9..aad1ad63d 100644
--- a/src/theory/uf/theory_uf_type_rules.h
+++ b/src/theory/uf/theory_uf_type_rules.h
@@ -19,6 +19,8 @@
#ifndef CVC4__THEORY__UF__THEORY_UF_TYPE_RULES_H
#define CVC4__THEORY__UF__THEORY_UF_TYPE_RULES_H
+#include <climits>
+
namespace CVC4 {
namespace theory {
namespace uf {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback