Skip to content

Commit 5a6ba32

Browse files
Merge branch 'exact-avoid-double-initialisation' into 'master'
exact: avoid double initialization in certificate.cpp See merge request integer/scip!3975
2 parents 9884e66 + c75333c commit 5a6ba32

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/scip/certificate.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,13 +765,11 @@ SCIP_RETCODE SCIPcertificateInitTransFile(
765765
{
766766
SCIP_CALL( SCIPcertificatePrintBoundCons(certificate, FALSE, NULL, vars[j], SCIPvarGetLbGlobalExact(vars[j]), FALSE) );
767767
SCIPvarSetLbCertificateIndexGlobal(vars[j], certificate->indexcounter - 1);
768-
SCIPvarSetLbCertificateIndexLocal(vars[j], certificate->indexcounter - 1);
769768
}
770769
if( !SCIPrationalIsAbsInfinity(SCIPvarGetUbGlobalExact(vars[j])) )
771770
{
772771
SCIP_CALL( SCIPcertificatePrintBoundCons(certificate, FALSE, NULL, vars[j], SCIPvarGetUbGlobalExact(vars[j]), TRUE) );
773772
SCIPvarSetUbCertificateIndexGlobal(vars[j], certificate->indexcounter - 1);
774-
SCIPvarSetUbCertificateIndexLocal(vars[j], certificate->indexcounter - 1);
775773
}
776774
}
777775

0 commit comments

Comments
 (0)