From 776c640cc646a0c7be75fb6bfd213505de222d24 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Fri, 10 May 2024 16:36:34 +0100 Subject: [PATCH] Update tests/testthat/test-walk.R Co-authored-by: Wes Hinsley --- tests/testthat/test-walk.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-walk.R b/tests/testthat/test-walk.R index e93b1af6..ff3a3456 100644 --- a/tests/testthat/test-walk.R +++ b/tests/testthat/test-walk.R @@ -268,7 +268,7 @@ test_that("can update parameters for grouped models", { }) -test_that("can update parameters for grouped models", { +test_that("params must be same length to update", { pars1 <- lapply(1:4, function(sd) list(sd = sd, random_initial = TRUE)) pars2 <- lapply(1:5, function(sd) list(sd = 10 * sd)) obj <- dust2_cpu_walk_alloc(pars1, 0, 1, 10, 4, 42, FALSE)