diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-05-15 10:56:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-15 10:56:22 -0500 |
commit | 213433866fd07e94d40909484ef1e906722cd0c7 (patch) | |
tree | 08fc082633daace28aba138e86fe44fdfc51dc7d /src | |
parent | 07dd06978875e3275bdebe6bd8495aef34861e8c (diff) | |
parent | 84af3731aa40e2e6f9281827af87350a2cb44ea1 (diff) |
Merge pull request #157 from 4tXJ7f/fix_iterator
Fix condition in upwards closure check for sets
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/sets/theory_sets_private.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/sets/theory_sets_private.cpp b/src/theory/sets/theory_sets_private.cpp index 0338eb1b3..a0748f2b9 100644 --- a/src/theory/sets/theory_sets_private.cpp +++ b/src/theory/sets/theory_sets_private.cpp @@ -856,7 +856,7 @@ void TheorySetsPrivate::checkUpwardsClosure( std::vector< Node >& lemmas ) { valid = true; }else{ // if not, check whether it is definitely not a member, if unknown, split - bool not_in_r2 = itm2n!=d_pol_mems[1].end() && itm2n->second.find( xr )!=itm2->second.end(); + bool not_in_r2 = itm2n!=d_pol_mems[1].end() && itm2n->second.find( xr )!=itm2n->second.end(); if( !not_in_r2 ){ exp.push_back( NodeManager::currentNM()->mkNode( kind::MEMBER, x, it2->second[1] ) ); valid = true; |