diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-03-02 20:55:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 22:55:22 -0600 |
commit | 1d44edf91762b837adf3db5ed40af9383e883b28 (patch) | |
tree | 46ea1daadf805b812cb8fd4922faef3bf3dc7093 /src/theory | |
parent | 32d08ae682e6396049ac26c3d26537fb34143cba (diff) |
Fix `TheorySetsPrive::eqNotifyPostMerge()` (#3901)
A local declaration of `s1` was shadowing `s1`, which meant that the
non-local definition of `s1` could never be not null. This meant that
parts of the code were never run. This commit fixes the issue by
removing the local declaration.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/sets/theory_sets_private.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/theory/sets/theory_sets_private.cpp b/src/theory/sets/theory_sets_private.cpp index df6f76cbf..1a798414e 100644 --- a/src/theory/sets/theory_sets_private.cpp +++ b/src/theory/sets/theory_sets_private.cpp @@ -97,7 +97,6 @@ void TheorySetsPrivate::eqNotifyPostMerge(TNode t1, TNode t2) { s2 = e2->d_singleton; EqcInfo* e1 = getOrMakeEqcInfo(t1); - Node s1; Trace("sets-prop-debug") << "Merging singletons..." << std::endl; if (e1) { |