Skip to content

Commit 57a2f23

Browse files
committed
Set RHS to same as A matrix
1 parent f7dd0d3 commit 57a2f23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simpeg/potential_fields/magnetics/simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ def _getRHS(self, m):
18621862
).diagonal()
18631863
)
18641864

1865-
return rhs
1865+
return rhs.astype(self.solver_dtype)
18661866

18671867
def _getA(self):
18681868
A = self._Div * self.MfMuiI * self._DivT

0 commit comments

Comments
 (0)