From ba18f988bf81c700ecd3f4c6f8ff5cb368bb25a0 Mon Sep 17 00:00:00 2001 From: teddygroves Date: Mon, 16 Oct 2023 16:54:29 +0200 Subject: [PATCH] fix stan input bug for unfixed params --- maud/getting_stan_inputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maud/getting_stan_inputs.py b/maud/getting_stan_inputs.py index 04d26bad..743ab679 100644 --- a/maud/getting_stan_inputs.py +++ b/maud/getting_stan_inputs.py @@ -76,7 +76,7 @@ def get_fixed_param_input( return { "N_dgf_fixed": 0, "dgf_fixed": [], - "ix_dgf_free": list(range(1, len(dgf.location) + 1)), + "ix_dgf_free": list(range(1, len(dgf.prior.location) + 1)), "ix_dgf_fixed": [], } else: