COIN-OR::LEMON - Graph Library

Changeset 1868:24bf4b8299e7 in lemon-0.x for lemon


Ignore:
Timestamp:
12/21/05 09:47:38 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2442
Message:

Bug fix in bipartite graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/graph_extender.h

    r1820 r1868  
    475475      } else {
    476476        Parent::nextUp(edge);
    477         if (edge == INVALID) {
    478           edge.forward = true;
    479         }       
     477        edge.forward = static_cast<UndirEdge&>(edge) == INVALID;
    480478      }
    481479    }
     
    495493      } else {
    496494        Parent::nextDown(edge);
    497         if (edge == INVALID) {
    498           edge.forward = true;
    499         }       
     495        edge.forward = static_cast<UndirEdge&>(edge) == INVALID;
    500496      }
    501497    }
Note: See TracChangeset for help on using the changeset viewer.