X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/e1ec477e83e88bbf3faccb6a1d00e26e82887164..950e4adf4d155a2880fbfcd61021f775dfddaeac:/linpy/linexprs.py?ds=sidebyside diff --git a/linpy/linexprs.py b/linpy/linexprs.py index d2554a0..961502d 100644 --- a/linpy/linexprs.py +++ b/linpy/linexprs.py @@ -405,7 +405,7 @@ class LinExpr: @classmethod def fromsympy(cls, expr): """ - Create a linear expression from a sympy expression. Raise TypeError is + Create a linear expression from a SymPy expression. Raise TypeError is the sympy expression is not linear. """ import sympy @@ -431,7 +431,7 @@ class LinExpr: def tosympy(self): """ - Convert the linear expression to a sympy expression. + Convert the linear expression to a SymPy expression. """ import sympy expr = 0