Skip to content

Commit 5d2e9ed

Browse files
committed
Fix timer
1 parent 62d9bb8 commit 5d2e9ed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

highs/ipm/hipo/ipm/KktMatrix.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Int KktMatrix::buildNEstructure() {
215215
std::ceil((double)m / kParallelNEStructTasks));
216216

217217
if (overflow) {
218-
info.NE_structure_time = clock.stop();
218+
info.times[kMatrixStructureTime_NE] = clock.stop();
219219
return kErrorOverflow;
220220
}
221221

@@ -236,7 +236,7 @@ Int KktMatrix::buildNEstructure() {
236236
}
237237

238238
if (overflow) {
239-
info.NE_structure_time = clock.stop();
239+
info.times[kMatrixStructureTime_NE] = clock.stop();
240240
return kErrorOverflow;
241241
}
242242

@@ -319,7 +319,7 @@ Int KktMatrix::buildNEvalues(const std::vector<double>& scaling) {
319319
for (Int row = 0; row < m; ++row) process_row(row, work);
320320
}
321321

322-
info.times[kMatrixValuesTime] += clock.stop();
322+
info.times[kMatrixValuesTime] += clock.stop();
323323

324324
return kOk;
325325
}

0 commit comments

Comments
 (0)