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