COIN-OR::LEMON - Graph Library

Changeset 2080:630a5e16dc12 in lemon-0.x


Ignore:
Timestamp:
05/12/06 11:57:03 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2743
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/maps.h

    r2032 r2080  
    382382    ///\param _m is the undelying map
    383383    ///\param _v is the shift value
    384     ShiftWriteMap(const M &_m, const C &_v ) : m(_m), v(_v) {};
     384    ShiftWriteMap(M &_m, const C &_v ) : m(_m), v(_v) {};
    385385    Value operator[](Key k) const {return m[k] + v;}
    386386    void set(Key k, const Value& c) { m.set(k, c - v); }
Note: See TracChangeset for help on using the changeset viewer.