chore(util/lp/lp_primal_core_solver): fix warning

This commit is contained in:
Leonardo de Moura 2016-02-05 10:07:54 -08:00
parent 0e4f98dc47
commit 1c8d8da9cf

View file

@ -130,7 +130,7 @@ template <typename T, typename X> X lp_primal_core_solver<T, X>::get_harris_t
template <typename T, typename X> int lp_primal_core_solver<T, X>::find_leaving_on_harris_theta(X const & harris_theta, X & t) {
int leaving = -1;
T pivot_abs_max;
T pivot_abs_max = zero_of_type<T>();
// we know already that there is no bound flip on entering
// we also know that harris_theta is limited, so we will find a leaving
zero_harris_eps();