1.1 --- a/lemon/lp_base.h Tue Jun 14 10:26:37 2005 +0000
1.2 +++ b/lemon/lp_base.h Tue Jun 14 13:55:28 2005 +0000
1.3 @@ -47,12 +47,12 @@
1.4
1.5 ///\param n is a floating id
1.6 ///\return the corresponding fix id
1.7 - int fixId(int n) {return cross[n];}
1.8 + int fixId(int n) const {return cross[n];}
1.9 ///Convert a fix id to a floating one
1.10
1.11 ///\param n is a fix id
1.12 ///\return the corresponding floating id
1.13 - int floatingId(int n) { return index[n];}
1.14 + int floatingId(int n) const { return index[n];}
1.15 ///Add a new floating id.
1.16
1.17 ///\param n is a floating id