Skip to content

Commit ea24d48

Browse files
committed
Revert switch to quad precision; need to qualify
1 parent 892e8d1 commit ea24d48

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/mip/HighsDomain.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ static double activityContributionMax(double coef, const double& lb,
4646
}
4747
}
4848

49-
static HighsCDouble computeDelta(HighsInt row, double val, double oldbound,
50-
double newbound, double inf,
51-
std::vector<HighsInt>& numinfs) {
49+
static double computeDelta(HighsInt row, double val, double oldbound,
50+
double newbound, double inf,
51+
std::vector<HighsInt>& numinfs) {
5252
if (oldbound == inf) {
5353
--numinfs[row];
54-
return HighsCDouble(newbound) * val;
54+
return newbound * val;
5555
} else if (newbound == inf) {
5656
++numinfs[row];
57-
return -HighsCDouble(oldbound) * val;
57+
return -oldbound * val;
5858
} else {
59-
return (HighsCDouble(newbound) - HighsCDouble(oldbound)) * val;
59+
return (newbound - oldbound) * val;
6060
}
6161
}
6262

0 commit comments

Comments
 (0)