lemon/lp_utils.h
changeset 2508 c86db0f7f917
parent 2391 14a343be7a5a
child 2553 bfced05fa852
equal deleted inserted replaced
6:d3bbbddddad9 7:946c5d264ef8
   884       } else if (e.constComp() > 0.0) {
   884       } else if (e.constComp() > 0.0) {
   885         if (!first) {
   885         if (!first) {
   886           os << "+ ";
   886           os << "+ ";
   887         }
   887         }
   888         os << e.constComp() << " ";
   888         os << e.constComp() << " ";
   889       } 
   889       }
       
   890       if (e.begin() == e.end() && e.constComp() == 0.0) {
       
   891         os << "0 ";
       
   892       }
   890     }
   893     }
   891 
   894 
   892   protected:
   895   protected:
   893 
   896 
   894     /// \brief Writer function of the section.
   897     /// \brief Writer function of the section.