Skip to content

Commit 13b72ca

Browse files
committed
Merge branch 'init-nsos1vars' into 'v92-bugfix'
add missing initialization of nsos1vars in sos1 conshdlr See merge request integer/scip!3868
2 parents e2f6c30 + 8feffed commit 13b72ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scip/cons_sos1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10385,6 +10385,7 @@ SCIP_RETCODE SCIPincludeConshdlrSOS1(
1038510385
conshdlrdata->tcliquedata = NULL;
1038610386
conshdlrdata->cntextsos1 = -1;
1038710387
conshdlrdata->varhash = NULL;
10388+
conshdlrdata->nsos1vars = 0;
1038810389

1038910390
/* create event handler for bound change events */
1039010391
SCIP_CALL( SCIPincludeEventhdlrBasic(scip, &conshdlrdata->eventhdlr, EVENTHDLR_NAME, EVENTHDLR_DESC, eventExecSOS1, NULL) );

0 commit comments

Comments
 (0)