From 8b885450a8fe0ce359844421beaff0c576087c4c Mon Sep 17 00:00:00 2001 From: denise lanzieri Date: Mon, 13 Jun 2022 17:17:19 +0200 Subject: [PATCH] few adjustments to PGD correction --- jaxpm/pm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jaxpm/pm.py b/jaxpm/pm.py index d54a252..231a89b 100644 --- a/jaxpm/pm.py +++ b/jaxpm/pm.py @@ -72,7 +72,7 @@ def make_ode_fn(mesh_shape): return nbody_ode -def pgd_correction(pos, params): +def pgd_correction(pos, mesh_shape, cosmo, params): """ improve the short-range interactions of PM-Nbody simulations with potential gradient descent method, based on https://arxiv.org/abs/1804.00671 args: