Skip to content

Commit 184f98a

Browse files
committed
perf: c -> list when specifying slide out date min, max
1 parent 4763e36 commit 184f98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/epi_slide_opt_archive.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ epi_slide_opt_archive_one_epikey <- function(
6161
} else {
6262
out_update_max_t <- inp_update_max_t + before_n_steps * unit_step
6363
}
64-
out_update <- epi_slide_opt_edf_one_epikey(inp_snapshot, in_colnames, f_dots_baked, f_from_package, before_n_steps, after_n_steps, unit_step, time_type, out_colnames, c(out_update_min_t, out_update_max_t), NULL)
64+
out_update <- epi_slide_opt_edf_one_epikey(inp_snapshot, in_colnames, f_dots_baked, f_from_package, before_n_steps, after_n_steps, unit_step, time_type, out_colnames, list(out_update_min_t, out_update_max_t), NULL)
6565
out_diff <- tbl_diff2(prev_out_snapshot, out_update, "time_value", "update")
6666
prev_inp_snapshot <<- inp_snapshot
6767
prev_out_snapshot <<- tbl_patch(prev_out_snapshot, out_diff, "time_value")

0 commit comments

Comments
 (0)