Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium EasyToFix Matrices

New issue 3188 by [email protected]: Unsupported operand Tuple in matrices.
http://code.google.com/p/sympy/issues/detail?id=3188

TypeError: unsupported operand type(s) for /: 'Tuple' and 'Tuple'

In [1]: M = Matrix([ [1, .6, .6], [.6, 1, .9], [.6, .9, 1] ])

In [5]: M.eigenvects()

   2501                 r.row_swap(pivot,k)
   2502             scale = r[pivot,i]
-> 2503             r.row(pivot, lambda x, _: x/scale)
   2504             for j in range(r.rows):
   2505                 if j == pivot:
TypeError: unsupported operand type(s) for /: 'Tuple' and 'Tuple'



--
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.

Reply via email to