You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a performance point of view, it would be much better to do this once before the loop is initiated. Since they are internal functions, we don't have to worry about checking their inputs.
It would also potentially reduce duplication across these two functions.
The text was updated successfully, but these errors were encountered:
Internal functions used in loops (via
optim()
) include input checking which will have to run in every single iteration of the loop:epiparameter/R/extract_param.R
Lines 307 to 327 in 18e9dd8
epiparameter/R/extract_param.R
Lines 365 to 377 in 18e9dd8
From a performance point of view, it would be much better to do this once before the loop is initiated. Since they are internal functions, we don't have to worry about checking their inputs.
It would also potentially reduce duplication across these two functions.
The text was updated successfully, but these errors were encountered: