diff --git a/src/util/lp/lp_primal_core_solver.cpp b/src/util/lp/lp_primal_core_solver.cpp index 07972b96e..906a4579e 100644 --- a/src/util/lp/lp_primal_core_solver.cpp +++ b/src/util/lp/lp_primal_core_solver.cpp @@ -29,7 +29,7 @@ void lp_primal_core_solver::sort_non_basis() { m_non_basis_list.clear(); // reinit m_basis_heading - for (int j = 0; j < this->m_non_basic_columns.size(); j++) { + for (unsigned j = 0; j < this->m_non_basic_columns.size(); j++) { unsigned col = this->m_non_basic_columns[j]; this->m_basis_heading[col] = - j - 1; m_non_basis_list.push_back(col);