X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/e1ec477e83e88bbf3faccb6a1d00e26e82887164..4540f520e6ae625c360c50ea2f4abf07d6811780:/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