File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4371,7 +4371,7 @@ SCIP_RETCODE multiaggrVar(
43714371 /* free issymunique, because it is invalid */
43724372 SCIPfreeBlockMemoryArrayNull (scip , & consdata -> issymunique , consdata -> nvars );
43734373
4374- (consdata -> nvars )-- ;
4374+ -- (consdata -> nvars );
43754375
43764376 /* iterate over all variables that variable v was aggregated to and insert the corresponding nonzeros */
43774377 for (aggrind = 0 ; aggrind < naggrvars ; aggrind ++ )
@@ -4390,7 +4390,7 @@ SCIP_RETCODE multiaggrVar(
43904390 }
43914391 }
43924392
4393- if ( aggrconsind > -1 )
4393+ if ( aggrconsind >= 0 )
43944394 {
43954395 /* if the variable to aggregate to is already part of this sdp-constraint, just add the nonzeros of the old variable to it */
43964396
@@ -4473,7 +4473,7 @@ SCIP_RETCODE multiaggrVar(
44734473 savedcol [* nfixednonz ] = cols [i ];
44744474 savedrow [* nfixednonz ] = rows [i ];
44754475 savedval [* nfixednonz ] = vals [i ] * constant ; /* multiply with constant, since this is added to the constant matrix */
4476- (* nfixednonz )++ ;
4476+ ++ (* nfixednonz );
44774477 }
44784478 }
44794479
You can’t perform that action at this time.
0 commit comments