We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33350fe commit e4fa6b3Copy full SHA for e4fa6b3
highs/ipm/hipo/ipm/FactorHiGHSSolver.cpp
@@ -34,7 +34,7 @@ static Int getASstructure(const HighsSparseMatrix& A, std::vector<Int>& ptr,
34
Int mA = A.num_row_;
35
Int nzA = A.numNz();
36
37
- if (nA + nzA + mA > kHighsIInf) return kStatusOverflow;
+ if ((int64_t)nA + nzA + mA > (int64_t)kHighsIInf) return kStatusOverflow;
38
39
ptr.resize(nA + mA + 1);
40
rows.resize(nA + nzA + mA);
0 commit comments