Skip to content

Commit 30c0d66

Browse files
committed
Increase tolerance for j_total comparison
1 parent eeb7e54 commit 30c0d66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

torax/_src/core_profiles/tests/initialization_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ def test_initial_psi_from_j_with_bootstrap_is_consistent_with_case_without_boots
237237
):
238238
_CURRENT_PROFILE_NU = 2
239239
_NRHO = 100
240-
_TOL = 3e-2
240+
# TODO: Investigate whether tolerance can be reduced by doing a better
241+
# comparison, e.g. by integrating the j profile.
242+
_TOL = 4e-2
241243
config = default_configs.get_default_config_dict()
242244
config['geometry']['geometry_type'] = 'chease'
243245
config['geometry']['n_rho'] = _NRHO

0 commit comments

Comments
 (0)