# HG changeset patch # User deba # Date 1223237293 0 # Node ID fa287765102260c388b1cdb1ee6d01a567c55712 # Parent 814ba94d9989e4dc607fcbab474d0797a63bad1c Fix _setCoeff diff -r 814ba94d9989 -r fa2877651022 lemon/lp_glpk.cc --- a/lemon/lp_glpk.cc Sun Oct 05 13:46:07 2008 +0000 +++ b/lemon/lp_glpk.cc Sun Oct 05 20:08:13 2008 +0000 @@ -274,7 +274,7 @@ //array indices are sorted bool found=false; for (int i = 1; i <= length; ++i) { - if (indices[i]==jx){ + if (indices[i]==ix){ found=true; values[i]=value; break;