# HG changeset patch # User Alpar Juttner # Date 2009-04-29 18:48:18 # Node ID f3792d5bb294628df14c203e1a66b1c104f82a23 # Parent 11169835942997943c25ab2742144586365ad47f Resolve gcc-4.3 warning in lemon/network_simplex.h diff --git a/lemon/network_simplex.h b/lemon/network_simplex.h --- a/lemon/network_simplex.h +++ b/lemon/network_simplex.h @@ -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) {