Skip to content

Commit db1b67e

Browse files
committed
Merge remote-tracking branch 'origin/v92-bugfix' into v9-minor
2 parents e7b41d9 + d87186b commit db1b67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scip/cons_nonlinear.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ SCIP_RETCODE createCons(
13611361
conshdlrdata = SCIPconshdlrGetData(conshdlr);
13621362
assert(conshdlrdata != NULL);
13631363

1364-
if( local && SCIPgetDepth(scip) != 0 )
1364+
if( local && SCIPgetStage(scip) == SCIP_STAGE_SOLVING && SCIPgetDepth(scip) != 0 )
13651365
{
13661366
SCIPerrorMessage("Locally valid nonlinear constraints are not supported, yet.\n");
13671367
return SCIP_INVALIDCALL;

0 commit comments

Comments
 (0)