Skip to content

Commit

Permalink
Linting: Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Nov 14, 2023
1 parent 3931cbc commit 841d340
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/estimate_infections.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 841d340

Please sign in to comment.