mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
move eq solver functionality to common place, fixes to goal2sat
This commit is contained in:
parent
cf3002c293
commit
e398959732
6 changed files with 468 additions and 370 deletions
|
@ -257,8 +257,8 @@ struct goal2sat::imp : public sat::sat_internalizer {
|
|||
m_num_scopes = 0;
|
||||
m_map.pop(n);
|
||||
unsigned k = m_cache_lim[m_cache_lim.size() - n];
|
||||
for (; k-- > m_cache_trail.size(); ) {
|
||||
app* t = m_cache_trail[k];
|
||||
for (unsigned i = m_cache_trail.size(); i-- > k; ) {
|
||||
app* t = m_cache_trail[i];
|
||||
sat::literal lit;
|
||||
if (m_app2lit.find(t, lit)) {
|
||||
m_app2lit.remove(t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue