# HG changeset patch # User alpar # Date 1138257862 0 # Node ID e225719bde6b5631ea2c1e90268a4c42107e2bab # Parent 9f9eeb4d5c691057761365e4e2922ee80507141e Better doc. diff -r 9f9eeb4d5c69 -r e225719bde6b lemon/lp_base.h --- a/lemon/lp_base.h Thu Jan 26 06:43:59 2006 +0000 +++ b/lemon/lp_base.h Thu Jan 26 06:44:22 2006 +0000 @@ -232,7 +232,7 @@ ///(This code computes the sum of all coefficients). ///- Numbers (double's) ///and variables (\ref Col "Col"s) directly convert to an - ///\ref Expr and the usual linear operations are defined so + ///\ref Expr and the usual linear operations are defined, so ///\code ///v+w ///2*v-3.12*(v-w/2)+2 @@ -358,12 +358,13 @@ /// \c s and \c t are numbers, then the followings are valid expressions /// and thus they can be used directly e.g. in \ref addRow() whenever /// it makes sense. - /// \code + ///\code /// e<=s /// e<=f + /// e==f /// s<=e<=t /// e>=t - /// \endcode + ///\endcode ///\warning The validity of a constraint is checked only at run time, so ///e.g. \ref addRow(x[1]\<=x[2]<=5) will compile, but will throw a ///\ref LogicError exception. @@ -463,7 +464,7 @@ ///(This code computes the sum of all coefficients). ///- Numbers (double's) ///and variables (\ref Row "Row"s) directly convert to an - ///\ref DualExpr and the usual linear operations are defined so + ///\ref DualExpr and the usual linear operations are defined, so ///\code ///v+w ///2*v-3.12*(v-w/2)