From ac45a3a481e837a1e1614afae2ec5dc25fc3ecfd Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Fri, 15 Nov 2024 09:21:41 +0000 Subject: [PATCH 1/2] Fix table problems --- vignettes/migrating.Rmd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vignettes/migrating.Rmd b/vignettes/migrating.Rmd index 1c73ed3d..0605d984 100644 --- a/vignettes/migrating.Rmd +++ b/vignettes/migrating.Rmd @@ -68,12 +68,12 @@ First the core methods that represent most usage: Action | dust 1.x.x | dust2 --------------+--------------------+--------------------------------- Allocate | `$new()` | `dust_system_create()` (1) -Run to time | `$run()` | `dust_system_create()` (2) +Run to time | `$run()` | `dust_system_run_to_time()` (2) Simulate | `$simulate()` | `dust_system_simulate()` Update state | `$update_state()` | `dust_system_set_state()` (3) - | | `dust_system_set_state_initial()` - | | `dust_system_set_time()` - | | `dust_system_set_pars()` +  |   | `dust_system_set_state_initial()` +  |   | `dust_system_set_time()` +  |   | `dust_system_set_pars()` Get state | `$state()` | `dust_system_state()` Get time | `$time()` | `dust_system_time()` Reorder | `$reorder()` | `dust_system_reorder()` @@ -92,7 +92,7 @@ Action | dust 1.x.x | dust2 Get name | `$name()` | `$name` State size | `$n_state()` | `$n_state` Number of particles | `$n_particles()` | `$n_particles` (1) - | `$n_particles_each()` | +  | `$n_particles_each()` | Number of groups | `$n_pars()` | `$n_groups` Number of threads | `$n_threads()` | `$n_threads` Supports compare | `$has_compare()` | `$properties$has_compare` From 10598b29c7b349dd5cd3ccafc9fabb96eb3f6536 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Fri, 15 Nov 2024 09:22:35 +0000 Subject: [PATCH 2/2] Bump table --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0e330dea..abd92e97 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: dust2 Title: Next Generation dust -Version: 0.3.0 +Version: 0.3.1 Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"), email = "rich.fitzjohn@gmail.com"), person("Imperial College of Science, Technology and Medicine",