From ebd38b0fbc34c580c7698fbecf5d3ee8e610ac89 Mon Sep 17 00:00:00 2001 From: Sosnowsky Date: Wed, 3 Apr 2024 08:44:45 +0200 Subject: [PATCH] Fix black --- tests/test_blob.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_blob.py b/tests/test_blob.py index c2a2260..db91ae4 100644 --- a/tests/test_blob.py +++ b/tests/test_blob.py @@ -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"