Skip to content

Commit 492c6b3

Browse files
committed
fix count on number of constraints in conss
- found by Dominik, see !3743
1 parent 13041fa commit 492c6b3

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)