From 81bbad4d7d956591ba5714b81211f6996e00701a Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Mon, 21 Oct 2024 07:39:40 +0100 Subject: [PATCH] Update for new monty --- DESCRIPTION | 2 +- R/monty.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5b1f436f..2a48ebda 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: dust2 Title: Next Generation dust -Version: 0.1.18 +Version: 0.1.19 Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"), email = "rich.fitzjohn@gmail.com"), person("Imperial College of Science, Technology and Medicine", diff --git a/R/monty.R b/R/monty.R index d681569d..cc61839e 100644 --- a/R/monty.R +++ b/R/monty.R @@ -213,7 +213,7 @@ dust_likelihood_monty <- function(obj, packer, initial = NULL, domain = NULL, density = density, direct_sample = NULL, gradient = gradient, - parameters = packer$parameters, + parameters = packer$names(), domain = domain, observer = observer, get_rng_state = get_rng_state,