summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDejan Jovanović <dejan@cs.nyu.edu>2013-03-21 20:07:44 -0400
committerDejan Jovanović <dejan@cs.nyu.edu>2013-03-21 20:07:44 -0400
commit36816ad2537a2e6163037e9592c513b9a69aa9dc (patch)
tree56628171ee25eb1648bd7461ed26426629399b1c
parent2a2c5102e10a8b3f1091bc50916fda5e766b5d4a (diff)
another typo/bugfix for equality constant evaluation
-rw-r--r--src/theory/uf/equality_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/uf/equality_engine.cpp b/src/theory/uf/equality_engine.cpp
index b2713d420..45f161143 100644
--- a/src/theory/uf/equality_engine.cpp
+++ b/src/theory/uf/equality_engine.cpp
@@ -603,9 +603,9 @@ bool EqualityEngine::merge(EqualityNode& class1, EqualityNode& class2, std::vect
Debug("equality") << d_name << "::eq::merge(" << class1.getFind() << "," << class2.getFind() << "): " << d_nodes[currentId] << " in " << d_nodes[funId] << std::endl;
const FunctionApplication& fun = d_applications[useNode.getApplicationId()].normalized;
// If it's interpreted and we can interpret
- if (fun.isInterpreted() && class1isConstant && !d_isInternal[funId]) {
+ if (fun.isInterpreted() && class1isConstant && !d_isInternal[currentId]) {
// Get the actual term id
- TNode term = d_nodes[useNode.getApplicationId()];
+ TNode term = d_nodes[funId];
subtermEvaluates(getNodeId(term));
}
// Check if there is an application with find arguments
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback