-
Public headers are moved to the
include
folder in the source tree. -
Updated vendored
liblgfs
. -
plfit now requires a compiler that supports the C99 standard.
- Worked around a broken (non-constant)
NAN
macro with recent Windows 11 SDK / MSVC versions.
- Contributors list is now provided both in Markdown and plain text format.
- Python 3.12 is now supported (#46)
- Added contributors list.
-
Cross-platform compatibility improvements.
-
Improved const-correctness.
-
Fix compilation problems with MinGW toolchain.
-
Fix linking to math library, thanks to @orlitzky (#45).
-
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() and plfit_discrete() in case of errors.
- Fixed
pkg-config
configuration file to take into account the recent move of the headers to${prefix}/include/plfit
.
- Header files are now installed in the
plfit
subfolder of the designated include directory.
- Expected output from tests cases is now printed on
stdout
, notstderr
- Fixed a bug in
plfit_discrete()
that returned a misleading error message when some of the samples inxs
was less than 1 and the remaining samples did not contain at least 3 unique values.
- This version now compiles on Windows as well as Linux and macOS.
-
Fixed potential naming conflicts with other libraries by prefixing exported symbols with
plfit_
where appropriate, thanks to @jgmbenoit -
Lots of enhancements to facilitate inclusion in Debian Linux as a separate package, thanks to @jgmbenoit
-
Tidied up CMakeLists.txt file
-
Fixed a bug with the Walker alias sampler that sometimes returned incorrect samples on Windows.
First version with a changelog entry.