jPrimary should be initiated as complex in the fields object

This commit is contained in:
Lindsey Heagy
2015-10-18 21:25:31 -07:00
parent 24f2bae3c2
commit e85da0d15b
+1 -1
View File
@@ -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: