projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sympy -> SymPy in docstrings
[linpy.git]
/
linpy
/
linexprs.py
diff --git
a/linpy/linexprs.py
b/linpy/linexprs.py
index
d2554a0
..
961502d
100644
(file)
--- a/
linpy/linexprs.py
+++ b/
linpy/linexprs.py
@@
-405,7
+405,7
@@
class LinExpr:
@classmethod
def fromsympy(cls, expr):
"""
@classmethod
def fromsympy(cls, expr):
"""
- Create a linear expression from a
symp
y expression. Raise TypeError is
+ Create a linear expression from a
SymP
y expression. Raise TypeError is
the sympy expression is not linear.
"""
import sympy
the sympy expression is not linear.
"""
import sympy
@@
-431,7
+431,7
@@
class LinExpr:
def tosympy(self):
"""
def tosympy(self):
"""
- Convert the linear expression to a
symp
y expression.
+ Convert the linear expression to a
SymP
y expression.
"""
import sympy
expr = 0
"""
import sympy
expr = 0