[Lemon-commits] deba: r3508 - lemon/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Sun Oct 5 22:08:14 CEST 2008


Author: deba
Date: Sun Oct  5 22:08:13 2008
New Revision: 3508

Modified:
   lemon/trunk/lemon/lp_glpk.cc

Log:
Fix _setCoeff



Modified: lemon/trunk/lemon/lp_glpk.cc
==============================================================================
--- lemon/trunk/lemon/lp_glpk.cc	(original)
+++ lemon/trunk/lemon/lp_glpk.cc	Sun Oct  5 22:08:13 2008
@@ -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;



More information about the Lemon-commits mailing list