Skip to content

Commit

Permalink
remove assert that no longer needs to hold
Browse files Browse the repository at this point in the history
- requiredsize can be larger than final number of ncoefs due to
  cancelation
- see also !3409#note_256099
  • Loading branch information
svigerske committed Nov 28, 2024
1 parent 58cbae3 commit 0cec6e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/scip/prop_genvbounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2494,7 +2494,6 @@ SCIP_DECL_PROPEXITPRE(propExitpreGenvbounds)
}

SCIP_CALL( SCIPgetProbvarLinearSum(scip, genvbound->vars, genvbound->coefs, &genvbound->ncoefs, requiredsize, &genvbound->constant, &requiredsize) );
assert(requiredsize <= genvbound->ncoefs);
}

/* capture new and release old variables */
Expand Down

0 comments on commit 0cec6e0

Please sign in to comment.