mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
Merge pull request #1117 from levnach/master
fix maybe non initialized warning
This commit is contained in:
commit
475b5c70c8
|
@ -460,6 +460,7 @@ public:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lean_assert(false);
|
lean_assert(false);
|
||||||
|
new_val_for_leaving = numeric_traits<T>::zero(); // does not matter
|
||||||
}
|
}
|
||||||
return j;
|
return j;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1139,6 +1139,7 @@ lp_primal_core_solver<T, X>::get_infeasibility_cost_for_column(unsigned j) const
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lean_assert(false);
|
lean_assert(false);
|
||||||
|
ret = numeric_traits<T>::zero(); // does not matter
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue