COIN-OR::LEMON - Graph Library

Changeset 2074:c7ee2a2a3cff in lemon-0.x for lemon


Ignore:
Timestamp:
05/09/06 13:25:34 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2734
Message:

Bug fix

Do not delete the not constructed map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bellman_ford.h

    r2070 r2074  
    327327      graph(&_graph), length(&_length),
    328328      _pred(0), local_pred(false),
    329       _dist(0), local_dist(false) {}
     329      _dist(0), local_dist(false), _mask(0) {}
    330330   
    331331    ///Destructor.
     
    333333      if(local_pred) delete _pred;
    334334      if(local_dist) delete _dist;
    335       delete _mask;
     335      if(_mask) delete _mask;
    336336    }
    337337
Note: See TracChangeset for help on using the changeset viewer.