Changes in 1.3.12
- Fix non-convergence / NaN in
lmder,lmdifandlmstron problems whose solution is the zero vector, by guarding a 0/0 division inlmpar(#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_BLASis enabled (#12). - Add
cminpackcpp.hpp, a header-only C++ wrapper so the solvers accept lambdas, functors andstd::function(#74). - Make CMake the standard build system (the Makefile is kept for backward compatibility) and reorganize the tree into
include/andsrc/(withsrc/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.