summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-03-02 17:00:19 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2020-03-02 17:00:19 -0800
commitee23a520d05b3fe420951f2b31d8502291cde941 (patch)
tree192d7277bbcd2f03082e8145be32da02a46316e5
parentc25fd62ab4e985ec3c8ecbe0b5dd34c18ef6549e (diff)
fix wshadow group 141wshadow141
-rw-r--r--src/theory/sets/theory_sets_private.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/theory/sets/theory_sets_private.cpp b/src/theory/sets/theory_sets_private.cpp
index df6f76cbf..d7f30569b 100644
--- a/src/theory/sets/theory_sets_private.cpp
+++ b/src/theory/sets/theory_sets_private.cpp
@@ -305,24 +305,25 @@ bool TheorySetsPrivate::assertFact(Node fact, Node exp)
Node s = e->d_singleton;
if (!s.isNull())
{
- Node exp = NodeManager::currentNM()->mkNode(
+ Node pexp = NodeManager::currentNM()->mkNode(
kind::AND, atom, atom[1].eqNode(s));
- d_keep.insert(exp);
+ d_keep.insert(pexp);
if (s.getKind() == kind::SINGLETON)
{
if (s[0] != atom[0])
{
- Trace("sets-prop") << "Propagate mem-eq : " << exp << std::endl;
+ Trace("sets-prop")
+ << "Propagate mem-eq : " << pexp << std::endl;
Node eq = s[0].eqNode(atom[0]);
d_keep.insert(eq);
- assertFact(eq, exp);
+ assertFact(eq, pexp);
}
}
else
{
Trace("sets-prop")
- << "Propagate mem-eq conflict : " << exp << std::endl;
- d_state.setConflict(exp);
+ << "Propagate mem-eq conflict : " << pexp << std::endl;
+ d_state.setConflict(pexp);
}
}
}
@@ -775,8 +776,8 @@ void TheorySetsPrivate::checkUpwardsClosure()
std::vector<Node> exp;
exp.push_back(itm2m.second);
d_state.addEqualityToExp(term[1], itm2m.second[1], exp);
- Node k = d_state.getProxy(term);
- Node fact = nm->mkNode(kind::MEMBER, x, k);
+ Node r = d_state.getProxy(term);
+ Node fact = nm->mkNode(kind::MEMBER, x, r);
d_im.assertInference(fact, exp, "upc2");
if (d_state.isInConflict())
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback