Skip to content

Commit d7c50d1

Browse files
committed
Forgot const
1 parent eb71d04 commit d7c50d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

highs/mip/HighsPrimalHeuristics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ HighsPrimalHeuristics::HighsPrimalHeuristics(HighsMipSolver& mipsolver)
4141
randgen(mipsolver.options_mip_->random_seed) {}
4242

4343
bool HighsPrimalHeuristics::subMipShouldRetry(HighsMipWorker& worker,
44-
HighsSearch& heur,
44+
const HighsSearch& heur,
4545
double fixingrate,
4646
double& maxfixingrate,
4747
HighsInt& targetdepth) {

highs/mip/HighsPrimalHeuristics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class HighsPrimalHeuristics {
3030

3131
HighsRandom randgen;
3232

33-
bool subMipShouldRetry(HighsMipWorker& worker, HighsSearch& heur,
33+
bool subMipShouldRetry(HighsMipWorker& worker, const HighsSearch& heur,
3434
double fixingrate, double& maxfixingrate,
3535
HighsInt& targetdepth);
3636

0 commit comments

Comments
 (0)