gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Resolve gcc-4.3 warning in lemon/network_simplex.h
0 1 0
default
1 file changed with 2 insertions and 2 deletions:
↑ Collapse diff ↑
Ignore white space 12 line context
... ...
@@ -1042,14 +1042,14 @@
1042 1042

	
1043 1043
      // Check the sum of supply values
1044 1044
      _sum_supply = 0;
1045 1045
      for (int i = 0; i != _node_num; ++i) {
1046 1046
        _sum_supply += _supply[i];
1047 1047
      }
1048
      if ( !(_stype == GEQ && _sum_supply <= 0 ||
1049
             _stype == LEQ && _sum_supply >= 0) ) return false;
1048
      if ( !((_stype == GEQ && _sum_supply <= 0) ||
1049
             (_stype == LEQ && _sum_supply >= 0)) ) return false;
1050 1050

	
1051 1051
      // Remove non-zero lower bounds
1052 1052
      if (_have_lower) {
1053 1053
        for (int i = 0; i != _arc_num; ++i) {
1054 1054
          Value c = _lower[i];
1055 1055
          if (c >= 0) {
0 comments (0 inline)