# plfit library changelog
## [0.9.4]
### 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` when `CMAKE_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.
## [0.9.3]
### Fixed
* Fixed `pkg-config` configuration file to take into account the recent move of
the headers to `${prefix}/include/plfit`.
## [0.9.2]
### Changed
* Header files are now installed in the `plfit` subfolder of the designated
include directory.
### Fixed
* Expected output from tests cases is now printed on `stdout`, not `stderr`
## [0.9.1]
### Fixed
* Fixed a bug in `plfit_discrete()` that returned a misleading error message
when some of the samples in `xs` was less than 1 and the remaining samples
did not contain at least 3 unique values.
## [0.9.0]
### Added
* This version now compiles on Windows as well as Linux and macOS.
### Fixed
* 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.
## [0.8.2]
First version with a changelog entry.
[Unreleased]: https://github.com/ntamas/plfit/compare/0.9.4..HEAD
[0.9.4]: https://github.com/ntamas/plfit/compare/0.9.3...0.9.4
[0.9.3]: https://github.com/ntamas/plfit/compare/0.9.2...0.9.3
[0.9.2]: https://github.com/ntamas/plfit/compare/0.9.1...0.9.2
[0.9.1]: https://github.com/ntamas/plfit/compare/0.9.0...0.9.1
[0.9.0]: https://github.com/ntamas/plfit/compare/0.8.2...0.9.0
[0.8.2]: https://github.com/ntamas/plfit/releases/tag/0.8.2