From 841d34068d7b23f2979874fe0dd201da4e5c0792 Mon Sep 17 00:00:00 2001 From: jamesaazam Date: Tue, 14 Nov 2023 10:35:03 +0000 Subject: [PATCH] Linting: Fix indentation --- R/estimate_infections.R | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/R/estimate_infections.R b/R/estimate_infections.R index 38a13bdda..e39429cd2 100644 --- a/R/estimate_infections.R +++ b/R/estimate_infections.R @@ -459,11 +459,12 @@ fit_model_with_nuts <- function(args, future = FALSE, max_execution_time = Inf, chains <- args$chains args$chains <- 1 args$cores <- 1 - fits <- future.apply::future_lapply(1:chains, fit_chain, - stan_args = args, - max_time = max_execution_time, - catch = TRUE, - future.seed = TRUE + fits <- future.apply::future_lapply(1:chains, + fit_chain, + stan_args = args, + max_time = max_execution_time, + catch = TRUE, + future.seed = TRUE ) if (stuck_chains > 0) { fits[1:stuck_chains] <- NULL