changeset 821 | 072ec8120958 |
parent 813 | 25804ef35064 |
child 825 | 75e6020b19b1 |
child 830 | 75c97c3786d6 |
child 839 | f3bc4e9b5f3a |
child 1154 | 43647f48e971 |
1.1 --- a/lemon/capacity_scaling.h Fri Nov 13 00:37:55 2009 +0100 1.2 +++ b/lemon/capacity_scaling.h Fri Nov 13 00:39:28 2009 +0100 1.3 @@ -681,7 +681,7 @@ 1.4 1.5 // Initialize the algorithm 1.6 ProblemType init() { 1.7 - if (_node_num == 0) return INFEASIBLE; 1.8 + if (_node_num <= 1) return INFEASIBLE; 1.9 1.10 // Check the sum of supply values 1.11 _sum_supply = 0;