mirror of
https://github.com/Z3Prover/z3
synced 2026-03-04 04:30:23 +00:00
updates
This commit is contained in:
parent
de8faa231f
commit
8b281b625e
7 changed files with 107 additions and 23 deletions
|
|
@ -368,9 +368,13 @@ namespace sls {
|
|||
return;
|
||||
m_initialized = true;
|
||||
m_unit_literals.reset();
|
||||
m_unit_indices.reset();
|
||||
for (auto const& clause : s.clauses())
|
||||
if (clause.m_clause.size() == 1)
|
||||
if (clause.m_clause.size() == 1)
|
||||
m_unit_literals.push_back(clause.m_clause[0]);
|
||||
for (sat::literal lit : m_unit_literals)
|
||||
m_unit_indices.insert(lit.index());
|
||||
|
||||
verbose_stream() << "UNITS " << m_unit_literals << "\n";
|
||||
for (auto a : m_atoms)
|
||||
if (a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue