author | Peter Kovacs <kpeter@inf.elte.hu> |
Thu, 28 Feb 2013 23:45:39 +0100 | |
changeset 1229 | 473c71baff72 |
parent 1228 | 45befc97b1bc |
child 1233 | 490d89913a17 |
1.1 --- a/lemon/edmonds_karp.h Thu Feb 28 23:44:35 2013 +0100 1.2 +++ b/lemon/edmonds_karp.h Thu Feb 28 23:45:39 2013 +0100 1.3 @@ -524,7 +524,7 @@ 1.4 /// \pre Either \ref run() or \ref init() must be called before 1.5 /// using this function. 1.6 bool minCut(const Node& node) const { 1.7 - return ((*_pred)[node] != INVALID) or node == _source; 1.8 + return ((*_pred)[node] != INVALID) || node == _source; 1.9 } 1.10 1.11 /// \brief Gives back a minimum value cut.