Closed pietro31700 closed 9 months ago
Shouldn't lines 98-110 also receive an additional indent now to also only be executed if the new if statement on line 78 is fulfilled?
Yes! I'm sorry. Those lines are the central point of this pull request. Now I tested it and it should work.
No problem, thanks very much for helping out.
Since 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 parameters or equal to "dirichlet".
This commit skip these comparison when the key is R_curve.
Solve #60