lemon/lp_glpk.cc
changeset 2630 d239741cfd44
parent 2605 852361980706
equal deleted inserted replaced
31:5466c60901f4 32:0d897b81f160
   272       
   272       
   273       //The following code does not suppose that the elements of the
   273       //The following code does not suppose that the elements of the
   274       //array indices are sorted
   274       //array indices are sorted
   275       bool found=false;
   275       bool found=false;
   276       for (int i = 1; i <= length; ++i) {
   276       for (int i = 1; i <= length; ++i) {
   277         if (indices[i]==jx){
   277         if (indices[i]==ix){
   278           found=true;
   278           found=true;
   279           values[i]=value;
   279           values[i]=value;
   280           break;
   280           break;
   281         }
   281         }
   282       }
   282       }