Skip to content

Commit

Permalink
Adjusted atol to fix golden tests broken by the change of the loop un…
Browse files Browse the repository at this point in the history
…rolling default in IrCompiler.

PiperOrigin-RevId: 725656881
  • Loading branch information
kochkov92 authored and JAX-CFD authors committed Feb 11, 2025
1 parent 0c17e38 commit 42f4f70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jax_cfd/base/equations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class SemiImplicitNavierStokesTest(test_util.TestCase):
dt=1e-3,
time_steps=1000,
divergence_atol=1e-3,
momentum_atol=2e-3),
momentum_atol=1.5e-2),
dict(testcase_name='semi_implicit_gaussian_force_upwind',
velocity=zero_velocity_field,
forcing=gaussian_forcing,
Expand Down Expand Up @@ -180,7 +180,7 @@ class ImplicitDiffusionNavierStokesTest(test_util.TestCase):
dt=1e-3,
time_steps=1000,
divergence_atol=1e-3,
momentum_atol=3e-3),
momentum_atol=1.5e-2),
dict(
testcase_name='implicit_gaussian_force_upwind',
velocity=zero_velocity_field,
Expand All @@ -207,7 +207,7 @@ class ImplicitDiffusionNavierStokesTest(test_util.TestCase):
convect=advection.convect_linear,
diffusion_solve=diffusion.solve_fast_diag,
pressure_solve=pressure.solve_fast_diag,
dt=1e-3,
dt=5e-3,
time_steps=1000,
divergence_atol=1e-3,
momentum_atol=1e-3),
Expand Down

0 comments on commit 42f4f70

Please sign in to comment.