3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

clean up build warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-02-19 10:08:31 -08:00
parent 9b6ac45e02
commit bc6037464d
2 changed files with 11 additions and 10 deletions

View file

@ -308,10 +308,10 @@ namespace arith {
// cached dts has to be updated when the score of literals are updated.
//
double sls::dscore(var_t v, int64_t new_value) const {
auto const& vi = m_vars[v];
verbose_stream() << "dscore " << v << "\n";
double score = 0;
#if 0
auto const& vi = m_vars[v];
verbose_stream() << "dscore " << v << "\n";
for (auto const& [coeff, lit] : vi.m_literals)
for (auto cl : m_bool_search->get_use_list(lit))
score += (compute_dts(cl) - dts(cl, v, new_value)) * m_bool_search->get_weight(cl);
@ -530,7 +530,6 @@ namespace arith {
if (!ineq)
return -1;
int64_t new_value;
double result = 0;
double max_result = -1;
for (auto const & [coeff, x] : ineq->m_args) {
if (!cm(!sign0, *ineq, x, coeff, new_value))