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