lemon/lp_utils.h
changeset 2421 160ebfb944a9
parent 2391 14a343be7a5a
child 2553 bfced05fa852
     1.1 --- a/lemon/lp_utils.h	Wed Apr 18 16:34:40 2007 +0000
     1.2 +++ b/lemon/lp_utils.h	Wed Apr 18 16:35:04 2007 +0000
     1.3 @@ -886,7 +886,10 @@
     1.4            os << "+ ";
     1.5          }
     1.6          os << e.constComp() << " ";
     1.7 -      } 
     1.8 +      }
     1.9 +      if (e.begin() == e.end() && e.constComp() == 0.0) {
    1.10 +        os << "0 ";
    1.11 +      }
    1.12      }
    1.13  
    1.14    protected: