Remove redundant check

master
Alinson S. Xavier 11 years ago
parent d4905b7f94
commit 51dc42554b

@ -131,9 +131,7 @@ int LP_optimize(struct LP *lp, int *infeasible)
solstat = CPXgetstat(lp->cplex_env, lp->cplex_lp); solstat = CPXgetstat(lp->cplex_env, lp->cplex_lp);
if (solstat == CPX_STAT_INFEASIBLE) if (solstat == CPX_STAT_INFEASIBLE)
{ {
if (infeasible) *infeasible = 1;
*infeasible = 1;
} }
else else
{ {