From 535ed489b365d4f0d88e5d77cbe094f94fd6dde5 Mon Sep 17 00:00:00 2001 From: Max Luebke Date: Tue, 24 Jan 2023 16:46:18 +0100 Subject: [PATCH 1/2] fix: check of existence of objects in R setup list --- R_lib/kin_r_library.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R_lib/kin_r_library.R b/R_lib/kin_r_library.R index 247a0c807..e350ac35e 100644 --- a/R_lib/kin_r_library.R +++ b/R_lib/kin_r_library.R @@ -47,12 +47,12 @@ master_init <- function(setup) { setup$timesteps <- setup$timesteps setup$simulation_time <- 0 - if (!(exists("setup$store_result"))) { + if (is.null(setup[["store_result"]])) { setup$store_result <- TRUE } if (setup$store_result) { - if (!(exists("setup$out_save"))) { + if (is.null(setup[["out_save"]])) { setup$out_save <- seq(1, setup$iterations) } } From 74b1e466df22b33c920ecece2f23fd745b49bdc5 Mon Sep 17 00:00:00 2001 From: Max Luebke Date: Tue, 24 Jan 2023 16:47:56 +0100 Subject: [PATCH 2/2] build: add dolo_diffu_large to install list --- bench/dolo_diffu_inner/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bench/dolo_diffu_inner/CMakeLists.txt b/bench/dolo_diffu_inner/CMakeLists.txt index e406effdf..633c71a11 100644 --- a/bench/dolo_diffu_inner/CMakeLists.txt +++ b/bench/dolo_diffu_inner/CMakeLists.txt @@ -1,5 +1,6 @@ install(FILES dolo_diffu_inner.R + dolo_diffu_inner_large.R dolo_inner.pqi DESTINATION share/poet/bench