mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-29 13:40:11 +08:00
eye --> identity, spzeros -> csr
This commit is contained in:
1 parent
dc04b5bac3
commit
3db46cc91c
3 files changed
+5
-5
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user