Skip to content

Commit 67529ab

Browse files
committed
small fix
1 parent 8f43bdb commit 67529ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ortools/glop/revised_simplex.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ ABSL_MUST_USE_RESULT Status RevisedSimplex::SolveInternal(
474474
// it is hard to claim we are really unbounded. This is a quick
475475
// heuristic to error on the side of optimality rather than
476476
// unboundedness.
477-
double max_magnitude = 0.0;
478-
double min_distance = kInfinity;
477+
Fractional max_magnitude = 0.0;
478+
Fractional min_distance = kInfinity;
479479
const DenseRow& lower_bounds = variables_info_.GetVariableLowerBounds();
480480
const DenseRow& upper_bounds = variables_info_.GetVariableUpperBounds();
481481
Fractional cost_delta = 0.0;

0 commit comments

Comments
 (0)