CRAN release
fixed rare overflow error in rztpois
where an
explicit cast from double
to int
was used –
now we use safe_double_to_int
to avoid overflow; this
overflow resulted in a segmentation fault in x86 hardware and in silent
failures in AArch64 hardware. This bug should not be relevant for most
practical uses of the package.
added new citation for the paper by Trikalinos and Sereda (2024, doi:10.1371/journal.pone.0311311)
Function arguments are now more consistent.
More extensive numerical checks.
Added C++ code for vectorized functions – for computational speed and memory efficiency.
Renamed functions to start from draw
(instead of
nhppp_t
), draw_zt
(instead of
ztnhppp_t
), and vdraw
(instead of ending in
_vec()
)
Initial CRAN submission.