Fixed
-
Fixed a logical out-of-bounds access in the calculation of the Hurwitz zeta function, thanks to @jgmbenoit (#40)
-
Fixed the generation of
libplfit.pc
whenCMAKE_INSTALL_<dir>
is an absolute path. -
Fixed an off-by-one indexing error in continuous fitting when
x_min
was selected using stratified sampling. This may have caused an out-of-bounds read on the input array in rare cases. -
More rigorous memory cleanup in
plfit_continuous()
andplfit_discrete()
in case of errors.