Skip to content

Commit

Permalink
fix bicgstab scipy call
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Jul 7, 2024
1 parent 04e6889 commit dacc7e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymatsolver/iterative.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _solve1(self, rhs):
self.factor()
sol, info = self.solver(
self.A, rhs,
tol=self.tol,
atol=self.tol,
maxiter=self.maxiter,
M=self.M
)
Expand All @@ -45,7 +45,7 @@ def _solveM(self, rhs):
sol = []
for icol in range(rhs.shape[1]):
sol.append(self.solver(self.A, rhs[:, icol].flatten(),
tol=self.tol, maxiter=self.maxiter, M=self.M)[0])
atol=self.tol, maxiter=self.maxiter, M=self.M)[0])
out = np.hstack(sol)
out.shape
return out
Expand Down

0 comments on commit dacc7e9

Please sign in to comment.