diff --git a/FiniteDifferences_ShortleyWeller_SquareGrid.py b/FiniteDifferences_ShortleyWeller_SquareGrid.py index 4df96d2d..86c028d8 100644 --- a/FiniteDifferences_ShortleyWeller_SquareGrid.py +++ b/FiniteDifferences_ShortleyWeller_SquareGrid.py @@ -260,7 +260,7 @@ def __init__(self,chamb, Dh, sparse_solver = 'scipy_slu', tol_stem = 0.01, tol_d #@profile def solve(self, rho = None, flag_verbose = False): - if rho == None: + if rho is None: rho = self.rho self._solve_core(self, rho)