Skip to content

Commit

Permalink
Allow li method to take dot arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeDuttweiler committed Jun 14, 2024
1 parent 56644fe commit 0c8e566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ skipTrack.fit <- function(Y,cluster,
#Run skipTrack.MCMC on each worker (or liMCMC if li == TRUE)
res <- foreach::foreach(1:chains) %dopar% {
if(li){
liMCMC(Y = Y, cluster = cluster, reps = reps, hyperparams = par, S = numSkips)
liMCMC(Y = Y, cluster = cluster, reps = reps, hyperparams = par, S = numSkips, ...)
}else{
skipTrack.MCMC(Y = Y, cluster = cluster, X = X, Z = Z, numSkips = numSkips, reps = reps,
...)
Expand Down

0 comments on commit 0c8e566

Please sign in to comment.