mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
fix #4794
This commit is contained in:
parent
9156e355d8
commit
12198d13ac
10 changed files with 42 additions and 28 deletions
|
@ -213,7 +213,7 @@ struct goal2sat::imp : public sat::sat_internalizer {
|
|||
sat::bool_var to_bool_var(expr* e) override {
|
||||
sat::literal l;
|
||||
sat::bool_var v = m_map.to_bool_var(e);
|
||||
if (v != sat::null_bool_var)
|
||||
if (v != sat::null_bool_var)
|
||||
return v;
|
||||
if (is_app(e) && m_cache.find(to_app(e), l) && !l.sign())
|
||||
return l.var();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue