Changeset 888:5205145fabf6 in lemon-main
- Timestamp:
 - 05/02/10 18:53:56 (16 years ago)
 - Branch:
 - default
 - Children:
 - 889:0bca98cbebbb, 891:bb70ad62c95f
 - Phase:
 - public
 - File:
 - 
          
- 1 edited
 
- 
          lemon/network_simplex.h (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
lemon/network_simplex.h
r663 r888 1043 1043 ART_COST = std::numeric_limits<Cost>::max() / 2 + 1; 1044 1044 } else { 1045 ART_COST = std::numeric_limits<Cost>::min();1045 ART_COST = 0; 1046 1046 for (int i = 0; i != _arc_num; ++i) { 1047 1047 if (_cost[i] > ART_COST) ART_COST = _cost[i]; … … 1458 1458 if (_sum_supply == 0) { 1459 1459 if (_stype == GEQ) { 1460 Cost max_pot = std::numeric_limits<Cost>::min();1460 Cost max_pot = -std::numeric_limits<Cost>::max(); 1461 1461 for (int i = 0; i != _node_num; ++i) { 1462 1462 if (_pi[i] > max_pot) max_pot = _pi[i];  
Note: See TracChangeset
          for help on using the changeset viewer.
      
