Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
Sosnowsky committed Apr 3, 2024
1 parent ee13eb0 commit ebd38b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ def test_single_point():
x=mesh_x, y=mesh_y, t=0, periodic_y=True, Ly=10
)

expected_values = (
1 / (2 * np.pi) * np.exp(-(mesh_x**2) / 2) * np.exp(-(4**2) / 2)
)
expected_values = 1 / (2 * np.pi) * np.exp(-(mesh_x**2) / 2) * np.exp(-(4**2) / 2)
error = np.max(abs(expected_values - blob_values))

assert error < 1e-8, "Numerical error too big"
Expand Down

0 comments on commit ebd38b0

Please sign in to comment.