COIN-OR::LEMON - Graph Library

Changeset 1061:473c71baff72 in lemon-main


Ignore:
Timestamp:
02/28/13 23:45:39 (12 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Avoid usage of alternative operator (#177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/edmonds_karp.h

    r1060 r1061  
    525525    /// using this function.
    526526    bool minCut(const Node& node) const {
    527       return ((*_pred)[node] != INVALID) or node == _source;
     527      return ((*_pred)[node] != INVALID) || node == _source;
    528528    }
    529529
Note: See TracChangeset for help on using the changeset viewer.