Skip to content

Commit c52e2af

Browse files
committed
Fixed compiler warning
1 parent 6570af7 commit c52e2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/lp_data/HighsLpUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2564,7 +2564,7 @@ HighsStatus assessLpPrimalSolution(const std::string message,
25642564
HighsStatus return_status =
25652565
calculateRowValuesQuad(lp, solution.col_value, row_value);
25662566
if (return_status != HighsStatus::kOk) return return_status;
2567-
const bool have_row_names = lp.row_names_.size() >= lp.num_row_;
2567+
const bool have_row_names = lp.row_names_.size() >= static_cast<size_t>(lp.num_row_);
25682568
for (HighsInt iRow = 0; iRow < lp.num_row_; iRow++) {
25692569
const double primal = solution.row_value[iRow];
25702570
const double lower = lp.row_lower_[iRow];

0 commit comments

Comments
 (0)