equal
deleted
inserted
replaced
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 } |