devel/cminpack: Update to 1.3.13
ChangeLog: https://github.com/devernay/cminpack/releases/tag/v1.3.13
- Fix a division by zero in covar1 when the Jacobian rank equals the number of residuals (m == rank, e.g. square full-rank problems), which produced Inf/NaN throughout the covariance matrix.
- Make the banded finite-difference branch of fdjac1 call the user function with iflag=2, like the dense branch, fdjac2 and the FORTRAN version.
- Fix the USE_BLAS Newton correction in lmpar to use all n components (it was truncated to the original Jacobian rank, giving a wrong step for rank-deficient problems).
- Fix the jpvt memset size in the USE_LAPACK qrfac, and make the work-array size checks in hybrd, hybrj, hybrd1, hybrj1 and lmdif1 overflow-safe (also in the f2c versions).
- Guard a harmless transient infinity in dogleg for rank-deficient Jacobians (also in the f2c version).
ChangeLog: https://github.com/devernay/cminpack/releases/tag/v1.3.12
- Fix non-convergence / NaN in lmder, lmdif and lmstr on problems whose solution is the zero vector, by guarding a 0/0 division in lmpar (#76).
- Compare test output using a numeric tolerance instead of an exact text match, so the tests pass across compilers and math libraries (#37, #77).
- Fix Windows linking: correct the DLL export/import macros and document that static-library users define CMINPACK_NO_DLL (#18).
- Detect and link the CBLAS interface when USE_BLAS is enabled (#12).
- Add cminpackcpp.hpp, a header-only C++ wrapper so the solvers accept lambdas, functors and std::function (#74).
- Make CMake the standard build system (the Makefile is kept for backward compatibility) and reorganize the tree into include/ and src/ (with src/f2c/ for the f2c conversions); remove the unmaintained Xcode, Visual Studio and Eclipse project files.
- Move CI to GitHub Actions (keeping the CMake-based AppVeyor build) and remove the obsolete Travis CI, Coveralls and Coverity configuration and badges.