mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-29 17:05:21 +08:00
jPrimary should be initiated as complex in the fields object
This commit is contained in:
@@ -335,7 +335,7 @@ class FieldsFDEM_h(FieldsFDEM):
|
||||
return None
|
||||
|
||||
def _jPrimary(self, hSolution, srcList):
|
||||
jPrimary = np.zeros([self._edgeCurl.shape[0], hSolution.shape[1]])
|
||||
jPrimary = np.zeros([self._edgeCurl.shape[0], hSolution.shape[1]], dtype = complex)
|
||||
for i, src in enumerate(srcList):
|
||||
jp = src.jPrimary(self.prob)
|
||||
if jp is not None:
|
||||
|
||||
Reference in New Issue
Block a user