mirror of
https://github.com/DifferentiableUniverseInitiative/JaxPM.git
synced 2025-06-28 16:11:11 +00:00
fixed tolerance
This commit is contained in:
parent
0c75158043
commit
37976c70d8
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ def simulation_config(request):
|
||||||
return request.param
|
return request.param
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session", params=[0.1, 0.5, 0.8])
|
@pytest.fixture(scope="session", params=[0.1, 0.2])
|
||||||
def lpt_scale_factor(request):
|
def lpt_scale_factor(request):
|
||||||
return request.param
|
return request.param
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ from jaxpm.utils import power_spectrum
|
||||||
|
|
||||||
_TOLERANCE = 1e-4
|
_TOLERANCE = 1e-4
|
||||||
_PM_TOLERANCE = 1e-3
|
_PM_TOLERANCE = 1e-3
|
||||||
_FIELD_RTOL = 1e-2
|
_FIELD_RTOL = 1e-4
|
||||||
_FIELD_ATOL = 1e-1
|
_FIELD_ATOL = 1e-3
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.single_device
|
@pytest.mark.single_device
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue