COIN-OR::LEMON - Graph Library

Changeset 1484:a3484f00a5f0 in lemon-0.x for lemon/lp_base.h


Ignore:
Timestamp:
06/14/05 15:55:28 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1965
Message:
  • lp_test is made working.
  • some more 'const' for those who like them..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r1462 r1484  
    4848    ///\param n is a floating id
    4949    ///\return the corresponding fix id
    50     int fixId(int n) {return cross[n];}
     50    int fixId(int n) const {return cross[n];}
    5151    ///Convert a fix id to a floating one
    5252
    5353    ///\param n is a fix id
    5454    ///\return the corresponding floating id
    55     int floatingId(int n) { return index[n];}
     55    int floatingId(int n) const { return index[n];}
    5656    ///Add a new floating id.
    5757
Note: See TracChangeset for help on using the changeset viewer.