mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
deal with ubuntu/clang warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e9abdbb7a4
commit
26440ed3d8
|
@ -582,7 +582,6 @@ namespace euf {
|
||||||
|
|
||||||
bool egraph::propagate() {
|
bool egraph::propagate() {
|
||||||
force_push();
|
force_push();
|
||||||
unsigned j = 0;
|
|
||||||
for (unsigned i = 0; i < m_to_merge.size() && m.limit().inc() && !inconsistent(); ++i) {
|
for (unsigned i = 0; i < m_to_merge.size() && m.limit().inc() && !inconsistent(); ++i) {
|
||||||
auto const& w = m_to_merge[i];
|
auto const& w = m_to_merge[i];
|
||||||
switch (w.t) {
|
switch (w.t) {
|
||||||
|
|
|
@ -286,6 +286,7 @@ private:
|
||||||
unsigned row_index = this->m_row_index;
|
unsigned row_index = this->m_row_index;
|
||||||
auto* lar = &m_bp.lp();
|
auto* lar = &m_bp.lp();
|
||||||
auto explain = [bound_j, coeff_before_j_is_pos, is_lower_bound, strict, row_index, lar]() {
|
auto explain = [bound_j, coeff_before_j_is_pos, is_lower_bound, strict, row_index, lar]() {
|
||||||
|
(void) strict;
|
||||||
TRACE("bound_analyzer", tout << "explain_bound_on_var_on_coeff, bound_j = " << bound_j << ", coeff_before_j_is_pos = " << coeff_before_j_is_pos << ", is_lower_bound = " << is_lower_bound << ", strict = " << strict << ", row_index = " << row_index << "\n";);
|
TRACE("bound_analyzer", tout << "explain_bound_on_var_on_coeff, bound_j = " << bound_j << ", coeff_before_j_is_pos = " << coeff_before_j_is_pos << ", is_lower_bound = " << is_lower_bound << ", strict = " << strict << ", row_index = " << row_index << "\n";);
|
||||||
int bound_sign = (is_lower_bound ? 1 : -1);
|
int bound_sign = (is_lower_bound ? 1 : -1);
|
||||||
int j_sign = (coeff_before_j_is_pos ? 1 : -1) * bound_sign;
|
int j_sign = (coeff_before_j_is_pos ? 1 : -1) * bound_sign;
|
||||||
|
|
|
@ -884,7 +884,7 @@ namespace lp {
|
||||||
};
|
};
|
||||||
|
|
||||||
auto _check_feasible = [&](void) {
|
auto _check_feasible = [&](void) {
|
||||||
auto st = lra.find_feasible_solution();
|
lra.find_feasible_solution();
|
||||||
if (!lra.is_feasible() && !settings().get_cancel_flag()) {
|
if (!lra.is_feasible() && !settings().get_cancel_flag()) {
|
||||||
lra.get_infeasibility_explanation(*m_ex);
|
lra.get_infeasibility_explanation(*m_ex);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue