Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1481 by nicolas.pourcelot: Error raised:
Matrix([[1,2],[3,4]])**Integer(2)
http://code.google.com/p/sympy/issues/detail?id=1481
>>> sympy.Matrix([[1, 2], [3, 4]])**sympy.Integer(2)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "~/sympy/matrices/matrices.py", line 408, in __pow__
if isinstance(num, int) or isinstance(num, Integer):
NameError: global name 'Integer' is not defined
Integer is in fact not imported in matrices.py.
Patch will follow soon.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---