Skip to content

Commit 68406f8

Browse files
committed
extremeEntries runs only in debug mode
1 parent 7cc22c0 commit 68406f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

highs/ipm/hipo/factorhighs/HybridHybridFormatHandler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ void HybridHybridFormatHandler::assembleClique(const std::vector<double>& child,
154154
}
155155

156156
void HybridHybridFormatHandler::extremeEntries() {
157+
#ifdef HIPO_COLLECT_EXPENSIVE_DATA
157158
double minD = 1e100;
158159
double maxD = 0.0;
159160
double minoffD = 1e100;
@@ -199,6 +200,7 @@ void HybridHybridFormatHandler::extremeEntries() {
199200
}
200201

201202
data_.setExtremeEntries(minD, maxD, minoffD, maxoffD);
203+
#endif
202204
}
203205

204206
} // namespace hipo

0 commit comments

Comments
 (0)