Fix _setCoeff
authordeba
Sun, 05 Oct 2008 20:08:13 +0000
changeset 2622fa2877651022
parent 2621 814ba94d9989
child 2623 90defb96ee61
Fix _setCoeff
lemon/lp_glpk.cc
     1.1 --- a/lemon/lp_glpk.cc	Sun Oct 05 13:46:07 2008 +0000
     1.2 +++ b/lemon/lp_glpk.cc	Sun Oct 05 20:08:13 2008 +0000
     1.3 @@ -274,7 +274,7 @@
     1.4        //array indices are sorted
     1.5        bool found=false;
     1.6        for (int i = 1; i <= length; ++i) {
     1.7 -        if (indices[i]==jx){
     1.8 +        if (indices[i]==ix){
     1.9            found=true;
    1.10            values[i]=value;
    1.11            break;