Skip to content

Commit 391c81a

Browse files
authored
Update seq_subset cache entries without nested map references
1 parent b7f676c commit 391c81a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ast/rewriter/seq_subset.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ bool seq_subset::is_subset_rec(expr* a, expr* b, cache& visited) const {
113113
return cached_result == l_true;
114114
visited.insert_if_not_there(a, b, l_undef);
115115
auto set_result = [&](bool v) -> bool {
116-
lbool& cache_entry = visited.insert_if_not_there(a, b, to_lbool(v));
117-
cache_entry = to_lbool(v);
116+
visited.erase(a, b);
117+
visited.insert(a, b, to_lbool(v));
118118
return v;
119119
};
120120

0 commit comments

Comments
 (0)