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
MCMCDyn_wrapper() pre-allocates three integer vectors (time, tail, head), each of length control$MCMC.maxchanges, then trims them as needed. A more memory-efficient approach would be to start with a short vector and use array-doubling, either using Realloc() and then allocating the R vectors as a final step or working with R vectors and copying as needed.
The text was updated successfully, but these errors were encountered:
MCMCDyn_wrapper()
pre-allocates three integer vectors (time, tail, head), each of lengthcontrol$MCMC.maxchanges
, then trims them as needed. A more memory-efficient approach would be to start with a short vector and use array-doubling, either usingRealloc()
and then allocating the R vectors as a final step or working with R vectors and copying as needed.The text was updated successfully, but these errors were encountered: