COIN-OR::LEMON - Graph Library

Changeset 2595:1cbd377bffb3 in lemon-0.x


Ignore:
Timestamp:
03/20/08 12:38:01 (10 years ago)
Author:
deba
Branch:
default
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3478
Message:

Bug fix for not connected graphs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/nagamochi_ibaraki.h

    r2553 r2595  
    13221322 
    13231323      if (int(nodes.size()) < _node_num) { 
    1324         _aux_graph->clear(); 
    1325         _node_num = 1; 
    13261324        _cut.clear(); 
    13271325        for (int i = 0; i < int(nodes.size()); ++i) { 
     
    13321330          } 
    13331331        } 
     1332        _aux_graph->clear(); 
     1333        _node_num = 1; 
    13341334        _min_cut = 0; 
    13351335        return true; 
Note: See TracChangeset for help on using the changeset viewer.