test/lp_test.cc
changeset 1288 dd5b5d96b657
parent 1232 fc3854d936f7
child 1248 14394c9603c2
child 1270 dceba191c00d
equal deleted inserted replaced
17:b3b16300fee3 19:751b16079c4a
   196     { //Tests for #430
   196     { //Tests for #430
   197       LP::Col v=lp.addCol();
   197       LP::Col v=lp.addCol();
   198       LP::Constr c = v >= -3;
   198       LP::Constr c = v >= -3;
   199       c = c <= 4;
   199       c = c <= 4;
   200       LP::Constr c2;
   200       LP::Constr c2;
       
   201 #if ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ == 3 )
       
   202       c2 = ( -3 <= v ) <= 4;
       
   203 #else
   201       c2 = -3 <= v <= 4;
   204       c2 = -3 <= v <= 4;
       
   205 #endif
       
   206 
   202     }
   207     }
   203 
   208 
   204     e[x[3]]=2;
   209     e[x[3]]=2;
   205     e[x[3]]=4;
   210     e[x[3]]=4;
   206     e[x[3]]=1;
   211     e[x[3]]=1;