fix(library/max_sharing): conflict with the kernel approximate caching
This commit is contained in:
parent
02662fe489
commit
2ca16a099b
1 changed files with 5 additions and 1 deletions
|
@ -52,7 +52,11 @@ struct max_sharing_fn::imp {
|
|||
return res;
|
||||
}
|
||||
|
||||
expr operator()(expr const & a) { return apply(a); }
|
||||
expr operator()(expr const & a) {
|
||||
// we must disable approximate/opportunistic hash-consing used in the kernel
|
||||
scoped_expr_caching disable(false);
|
||||
return apply(a);
|
||||
}
|
||||
|
||||
bool already_processed(expr const & a) const {
|
||||
auto r = m_cache.find(a);
|
||||
|
|
Loading…
Reference in a new issue