From bcadf18dc2e6c2578e04e8d9e9248f1d3709b4e9 Mon Sep 17 00:00:00 2001 From: JAJHall Date: Fri, 25 Oct 2024 13:35:04 +0100 Subject: [PATCH] Fixed line 45 in HighsInterface.cpp --- src/lp_data/HighsInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lp_data/HighsInterface.cpp b/src/lp_data/HighsInterface.cpp index df008d4f6c..c8035afc5f 100644 --- a/src/lp_data/HighsInterface.cpp +++ b/src/lp_data/HighsInterface.cpp @@ -42,7 +42,7 @@ HighsStatus Highs::formStandardFormLp() { standard_form_matrix.num_col_ = lp.num_col_; // Create a HighsSparseMatrix instance to store rows extracted from // the original constraint matrix - HighsInt local_row_min_nnz = std::max(lp.num_col_, 2); + HighsInt local_row_min_nnz = std::max(lp.num_col_, HighsInt(2)); HighsSparseMatrix local_row; local_row.ensureRowwise(); local_row.num_row_ = 1;