COIN-OR::LEMON - Graph Library

Changeset 1229:473c71baff72 in lemon


Ignore:
Timestamp:
02/28/13 23:45:39 (7 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

    r1228 r1229  
    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.