tdf#164803 sw: Fix SwTextSizeInfo applying grid metrics without grid
[LibreOffice.git] / external / coinmp / bind2nd.patch.1
blob6ef10a03e1027b8de6bcd09fd78e6f13f6f10787
1 --- a/Osi/src/OsiCommonTest/OsiSolverInterfaceTest.cpp
2 +++ b/Osi/src/OsiCommonTest/OsiSolverInterfaceTest.cpp
3 @@ -1313,8 +1313,8 @@
4    int rows_to_delete_arr[] = { 0 } ;
5    si->deleteRows(1,rows_to_delete_arr) ;
6  
7 -  std::transform(objective,objective+4,objective,
8 -                std::bind2nd(std::plus<double>(),0.15)) ;
9 +  for (int i = 0; i != 4; ++i)
10 +    objective[i] += 0.15;
11    si->setObjective(objective) ;
12    si->resolve() ;
13    OSIUNITTEST_ASSERT_ERROR(si->isProvenOptimal(),          return false, *si, "test16SebastianNowozin second resolve");