Skip to content

Commit

Permalink
Merge branch 'fix_warning' into 'master'
Browse files Browse the repository at this point in the history
Fix sequence point violation in test code

See merge request integer/papilo!345
  • Loading branch information
alexhoen committed Oct 26, 2023
2 parents fa1dcb6 + 26a436c commit ee0677c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/papilo/presolve/ParallelRowDetectionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ setupProblemParallelRowWithMixed( bool firstRowEquation, double lhsIneq,
pb.setColNameAll( columnNames );
pb.setProblemName( "matrix with parallel inequalities (0 and 2)" );
Problem<double> problem = pb.build();
int i = firstRowEquation ? i = 0 : i = 2;
int i = firstRowEquation ? 0 : 2;
problem.getConstraintMatrix().modifyLeftHandSide( i, num, rhs[i] );
return problem;
}
Expand Down

0 comments on commit ee0677c

Please sign in to comment.