Skip to content

Commit 4aeaf39

Browse files
authored
Merge pull request #2431 from fwesselm/makeUtilConst
Make HEkk::tabooBadBasisChange() const
2 parents 5aac3bd + 5849657 commit 4aeaf39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

highs/simplex/HEkk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3950,7 +3950,7 @@ void HEkk::clearBadBasisChangeTabooFlag() {
39503950
bad_basis_change_[iX].taboo = false;
39513951
}
39523952

3953-
bool HEkk::tabooBadBasisChange() {
3953+
bool HEkk::tabooBadBasisChange() const {
39543954
for (HighsInt iX = 0; iX < (HighsInt)bad_basis_change_.size(); iX++) {
39553955
if (bad_basis_change_[iX].taboo) return true;
39563956
}

highs/simplex/HEkk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class HEkk {
359359
const BadBasisChangeReason reason,
360360
const bool taboo = false);
361361
void clearBadBasisChangeTabooFlag();
362-
bool tabooBadBasisChange();
362+
bool tabooBadBasisChange() const;
363363
void applyTabooRowOut(vector<double>& values, const double overwrite_with);
364364
void unapplyTabooRowOut(vector<double>& values);
365365
void applyTabooVariableIn(vector<double>& values,

0 commit comments

Comments
 (0)