eye --> identity, spzeros -> csr

This commit is contained in:
rowanc1 committed 2014-05-16 15:12:29 -07:00
1 parent dc04b5bac3
commit 3db46cc91c
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ def kron3(A, B, C):
def spzeros(n1, n2):
"""spzeros"""
return sp.coo_matrix((n1, n2)).tocsr()
return sp.csr_matrix((n1, n2))
def ddx(n):