py3: cannot take len() of zip() object directly
This commit is contained in:
committed by
Yorik van Havre
parent
9f2ad88ded
commit
13584d64fb
@@ -211,6 +211,7 @@ def fcsubmatrix(m):
|
||||
def multiplymat(l,r):
|
||||
"""multiply matrices given as lists of row vectors"""
|
||||
rt=zip(*r) #transpose r
|
||||
rt=list(rt)
|
||||
mat=[]
|
||||
for y in range(len(rt)):
|
||||
mline=[]
|
||||
|
||||
Reference in New Issue
Block a user