X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/e1ec477e83e88bbf3faccb6a1d00e26e82887164..b60eea3e1f1ee3e2ec26b7df2ae64e6da8586372:/linpy/linexprs.py 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