Skip to content

Commit 8dc641f

Browse files
committed
test: relax tolerance
1 parent cfc2eb9 commit 8dc641f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pytests/test_waveeqprocessing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_MDC_1virtualsource(par, dtype):
159159
MDCop,
160160
nt2 * parmod["ny"],
161161
nt2 * parmod["nx"],
162-
rtol=1e-4 if dtype == np.float32 else 1e-6,
162+
rtol=1e-3 if dtype == np.float32 else 1e-6,
163163
backend=backend,
164164
)
165165

@@ -231,7 +231,7 @@ def test_MDC_Nvirtualsources(par, dtype):
231231
MDCop,
232232
nt2 * parmod["ny"] * parmod["nx"],
233233
nt2 * parmod["nx"] * parmod["nx"],
234-
rtol=1e-4 if dtype == np.float32 else 1e-6,
234+
rtol=1e-3 if dtype == np.float32 else 1e-6,
235235
backend=backend,
236236
)
237237

@@ -309,7 +309,7 @@ def test_MDC_1virtualsource_scipy(par, dtype):
309309
MDCop,
310310
nt2 * parmod["ny"],
311311
nt2 * parmod["nx"],
312-
rtol=1e-4 if dtype == np.float32 else 1e-6,
312+
rtol=1e-3 if dtype == np.float32 else 1e-6,
313313
backend=backend,
314314
)
315315

0 commit comments

Comments
 (0)