fintzij / stemr

Fit Stochastic Epidemic Models via Bayesian Data Augmentation
https://fintzij.github.io/stemr/
8 stars 6 forks source link

stemr package (error in running the SIR vignettes) #10

Closed Yalthoba1407 closed 3 years ago

Yalthoba1407 commented 3 years ago

I installed stemr package via (install_github("fintzij/stemr") and I ran the SIR vignettes) I got this error ( error: Mat::elem(): index out of bounds Error in pars2parmat(parmat = parmat, pars = param_blocks[[s]]$pars_nat, : Mat::elem(): index out of bounds

)

fintzij commented 3 years ago

Apologies for the delayed response. Thanks for letting me know, it was an object sizing error that prevented saving the mcmc record when the total number of iterations was not a multiple of adaptive MCMC iterations. Just pushed a bug fix.

Thanks for letting me know!