BV inequality graph TNode fix.
authorMorgan Deters <mdeters@cs.nyu.edu>
Wed, 12 Nov 2014 17:31:00 +0000 (12:31 -0500)
committerMorgan Deters <mdeters@cs.nyu.edu>
Thu, 13 Nov 2014 00:27:16 +0000 (19:27 -0500)
src/theory/bv/bv_inequality_graph.cpp

index f29b8d467da3a8e7a93ed62735abf411f7d05566..dca67919471e37fc2206d4410ac08aaf388047ef 100644 (file)
@@ -263,6 +263,7 @@ ReasonId InequalityGraph::registerReason(TNode reason) {
   if (d_reasonToIdMap.find(reason) != d_reasonToIdMap.end()) {
     return d_reasonToIdMap[reason]; 
   }
+  d_reasonSet.insert(reason);
   ReasonId id = d_reasonNodes.size();
   d_reasonNodes.push_back(reason);
   d_reasonToIdMap[reason] = id;