Expose FACTOR parameter instead of using magic number in scipy.optimize.nnls #12017
Labels
enhancement
A new feature or improvement
Fortran
Items related to the internal Fortran code base
scipy.optimize
Milestone
The Fortran code in scipy/optimize/nnls/nnls.f uses a parameter FACTOR, which is hardcoded to 0.01, to determine when to end the loop due to lack of linear independence. It would be much appreciated if this magic number was exposed as an option in both the Fortran and the scipy.optimize.nnls python wrapper.
The text was updated successfully, but these errors were encountered: