Skip to content

Commit 0233200

Browse files
committed
Now assigning return_status in all cases for userScaleStatus
1 parent 5336f92 commit 0233200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/lp_data/HighsLpUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ void userScaleMatrix(const vector<HighsVarType>& integrality,
910910

911911
HighsStatus userScaleStatus(const HighsLogOptions& log_options,
912912
const HighsUserScaleData& data) {
913-
HighsStatus return_status;
913+
HighsStatus return_status = HighsStatus::kOk;
914914
std::string message;
915915
if (data.scaleWarning(message)) {
916916
highsLogUser(log_options, HighsLogType::kWarning, "%s\n", message.c_str());

0 commit comments

Comments
 (0)