Skip to content

Commit d82cb80

Browse files
committed
Pass reference
1 parent 424d169 commit d82cb80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/presolve/HPresolve.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4017,7 +4017,7 @@ HPresolve::Result HPresolve::rowPresolve(HighsPostsolveStack& postsolve_stack,
40174017

40184018
// replace the model row by the rounded one
40194019
auto updateRow = [&](HighsInt row, HighsInt direction,
4020-
HighsCDouble roundedRhs) {
4020+
const HighsCDouble& roundedRhs) {
40214021
if (direction < 0)
40224022
model->row_upper_[row] = static_cast<double>(roundedRhs);
40234023
else

0 commit comments

Comments
 (0)