diff options
author | Haniel Barbosa <hanielbbarbosa@gmail.com> | 2021-03-12 15:03:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 18:03:41 +0000 |
commit | 8b4c45340a74a8e2419667d403cd1fde9c7664fd (patch) | |
tree | b0a4ff57e72a3e3e357fb132a1f0659230224c5d /src/theory | |
parent | ab447f207cc2c64b8ec699fc1f65bf4c8f7cc073 (diff) |
[proof-new] Fix arity check when building equality engine proofs (#6133)
Broken in dc679ed.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/uf/equality_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/uf/equality_engine.cpp b/src/theory/uf/equality_engine.cpp index 1c5419977..8b44cc4d9 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 >= kind::metakind::getMaxArityForKind(k1)) + if (numChildren >= kind::metakind::getMinArityForKind(k1)) { std::vector<Node> children; for (unsigned j = 0; j < numChildren; ++j) |