Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Nov 21, 2024
1 parent 26334fa commit c237dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyro/mesh/tests/test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_dlogAx(self):
i = 4
r = self.g.xmin + (i + 0.5 - self.g.ng) * self.g.dx
dlogAx = 2.0 / r
assert (self.g.dlogAx[i,:] == dlogAx).all()
assert (self.g.dlogAx[i, :] == dlogAx).all()

def test_dlogAy(self):
i = 4
Expand All @@ -154,7 +154,7 @@ def test_dlogAy(self):
tan = np.tan(self.g.ymin + (j + 0.5 - self.g.ng) * self.g.dy)
dlogAy = 1.0 / (r * tan)

assert self.g.dlogAy[i,j] == dlogAy
assert self.g.dlogAy[i, j] == dlogAy

def test_V(self):
volume = np.abs(-2.0 * np.pi / 3.0 *
Expand Down

0 comments on commit c237dc7

Please sign in to comment.