summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-05-15 10:56:22 -0500
committerGitHub <noreply@github.com>2017-05-15 10:56:22 -0500
commit213433866fd07e94d40909484ef1e906722cd0c7 (patch)
tree08fc082633daace28aba138e86fe44fdfc51dc7d
parent07dd06978875e3275bdebe6bd8495aef34861e8c (diff)
parent84af3731aa40e2e6f9281827af87350a2cb44ea1 (diff)
Merge pull request #157 from 4tXJ7f/fix_iterator
Fix condition in upwards closure check for sets
-rw-r--r--src/theory/sets/theory_sets_private.cpp2
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;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback