From dacc7e9b000c7e35b195f338e73ae2cbe3c5dc63 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Sun, 7 Jul 2024 15:20:03 -0600 Subject: [PATCH] fix bicgstab scipy call --- pymatsolver/iterative.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymatsolver/iterative.py b/pymatsolver/iterative.py index fb5fb95..00f99bf 100644 --- a/pymatsolver/iterative.py +++ b/pymatsolver/iterative.py @@ -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 ) @@ -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