Skip to content

Commit 4f58b49

Browse files
authored
Merge pull request #6 from pdijksta/fix_is_None
== to is
2 parents 32c5eb3 + 39dd1db commit 4f58b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FiniteDifferences_ShortleyWeller_SquareGrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def __init__(self,chamb, Dh, sparse_solver = 'scipy_slu', tol_stem = 0.01, tol_d
260260
#@profile
261261
def solve(self, rho = None, flag_verbose = False):
262262

263-
if rho == None:
263+
if rho is None:
264264
rho = self.rho
265265
self._solve_core(self, rho)
266266

0 commit comments

Comments
 (0)