mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-19 11:28:00 +08:00
eye --> identity, spzeros -> csr
This commit is contained in:
@@ -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