diff -r 0d58f0301923 -r 94535d1833b5 lemon/lp_base.h --- a/lemon/lp_base.h Wed Jun 15 10:10:59 2005 +0000 +++ b/lemon/lp_base.h Wed Jun 15 10:13:08 2005 +0000 @@ -488,8 +488,6 @@ Base::insert(std::make_pair(v, 1)); } ///\e - DualExpr(const Value &v) {} - ///\e void set(const Key &v,const Value &c) { Base::insert(std::make_pair(v, c)); } @@ -706,10 +704,10 @@ ///\return The created column. ///\bug This is a temportary function. The interface will change to ///a better one. - Col addCol(Value l,const DualExpr &e, Value obj=0) { + Col addCol(const DualExpr &e, Value obj=0) { Col c=addCol(); setCol(c,e); - objCoeff(c,0); + objCoeff(c,obj); return c; }