Skip to content

Commit

Permalink
Use as.mcmc.list() instead of as.mcmc()
Browse files Browse the repository at this point in the history
References #585.
  • Loading branch information
mbojan committed Nov 25, 2024
1 parent baa6f5b commit f3466b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ergm.stocapprox.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ergm.stocapprox <- function(init, s, s.obs,
if(verbose){message("Using Newton-Raphson Step ...")}

v <- ergm.estimate(init=theta, model=model,
statsmatrices=mcmc.list(as.mcmc(z$stats)),
statsmatrices=mcmc.list(as.mcmc.list(z$stats)),
statsmatrices.obs=NULL,
epsilon=control$epsilon,
nr.maxit=control$MCMLE.NR.maxit,
Expand Down

0 comments on commit f3466b1

Please sign in to comment.