Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecated numpy behavior when using R_curve (#61)
* Fix deprecated numpy behavior when using R_curve As of Numpy 1.25.0 a previous warning behavior has become deprecated. In particular '==' and 'in' have been redefined to match the Python meaning when there are arrays to the left of the operators. This broke a part of the code where the value of the R_curve array (which is a 2D array) was checked if it was equal to the name of another key in the fit or equal to "dirichlet". This commit passes this comparison when the key is R_curve. * Fix indentation
- Loading branch information
1 parent
98d8bc9
commit 04677ee
Showing
1 changed file
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters