# HG changeset patch # User Alpar Juttner # Date 1241023698 -3600 # Node ID f3792d5bb294628df14c203e1a66b1c104f82a23 # Parent 11169835942997943c25ab2742144586365ad47f Resolve gcc-4.3 warning in lemon/network_simplex.h diff -r 111698359429 -r f3792d5bb294 lemon/network_simplex.h --- a/lemon/network_simplex.h Wed Apr 29 16:54:27 2009 +0200 +++ b/lemon/network_simplex.h Wed Apr 29 17:48:18 2009 +0100 @@ -1045,8 +1045,8 @@ for (int i = 0; i != _node_num; ++i) { _sum_supply += _supply[i]; } - if ( !(_stype == GEQ && _sum_supply <= 0 || - _stype == LEQ && _sum_supply >= 0) ) return false; + if ( !((_stype == GEQ && _sum_supply <= 0) || + (_stype == LEQ && _sum_supply >= 0)) ) return false; // Remove non-zero lower bounds if (_have_lower) {