Skip to content

Commit

Permalink
Fixed line 45 in HighsInterface.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Oct 25, 2024
1 parent 9a14344 commit bcadf18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lp_data/HighsInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bcadf18

Please sign in to comment.