Skip to content

Commit 6b1068b

Browse files
authored
Merge pull request #2747 from stratakis/latest
BUG: initialize save_value field to fix uninitialized memory use
2 parents 0da61e3 + 3833bd5 commit 6b1068b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/simplex/SimplexStruct.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ struct HighsSimplexBadBasisChangeRecord {
249249
HighsInt variable_out;
250250
HighsInt variable_in;
251251
BadBasisChangeReason reason;
252-
double save_value;
252+
double save_value = 0.0;
253253
};
254254

255255
struct HighsRayRecord {

0 commit comments

Comments
 (0)