mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 20:21:23 +00:00
fixes to build warnings
This commit is contained in:
parent
2ac6f8bb06
commit
826835fd7c
21 changed files with 20 additions and 65 deletions
|
@ -174,7 +174,6 @@ namespace opt {
|
|||
void lns::relax_cores() {
|
||||
if (!m_cores.empty() && m_cores_are_valid) {
|
||||
std::sort(m_cores.begin(), m_cores.end(), [&](expr_ref_vector const& a, expr_ref_vector const& b) { return a.size() < b.size(); });
|
||||
unsigned num_disjoint = 0;
|
||||
vector<expr_ref_vector> new_cores;
|
||||
for (auto const& c : m_cores) {
|
||||
bool in_core = false;
|
||||
|
@ -185,7 +184,6 @@ namespace opt {
|
|||
for (auto* e : c)
|
||||
m_in_core.mark(e);
|
||||
new_cores.push_back(c);
|
||||
++num_disjoint;
|
||||
}
|
||||
IF_VERBOSE(2, verbose_stream() << "num cores: " << m_cores.size() << " new cores: " << new_cores.size() << "\n");
|
||||
ctx.relax_cores(new_cores);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue