Skip to content

Commit cf6b0d3

Browse files
committed
Revert a change
1 parent 62eb5c7 commit cf6b0d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

highs/simplex/HighsSimplexAnalysis.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,9 @@ void HighsSimplexAnalysis::reportRunTime(const bool header,
14851485
}
14861486

14871487
HighsInt HighsSimplexAnalysis::intLog10(const double v) const {
1488-
return static_cast<HighsInt>(v > 0 ? -2.0 * log(v) / log(10.0) : 99);
1488+
double log10V = v > 0 ? -2.0 * log(v) / log(10.0) : 99;
1489+
HighsInt intLog10V = log10V;
1490+
return intLog10V;
14891491
}
14901492

14911493
bool HighsSimplexAnalysis::dualAlgorithm() {

0 commit comments

Comments
 (0)