Skip to content

Commit f20c355

Browse files
committed
Merge branch 'reader-check-names-fix-nconss' into 'v92-bugfix'
fix count on number of constraints in conss See merge request integer/scip!3829
2 parents 13041fa + 492c6b3 commit f20c355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scip/reader.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ SCIP_RETCODE SCIPreaderWrite(
415415
{
416416
nduplicates = 0;
417417

418-
for( i = 0; i < SCIPprobGetNConss(prob); ++i )
418+
for( i = 0; i < nconss; ++i )
419419
{
420420
if( conss[i] != (SCIP_CONS*) SCIPprobFindCons(prob, (void*) SCIPconsGetName(conss[i])) )
421421
{

0 commit comments

Comments
 (0)