BUG: levy_stable.pdf does not use pdf_default_method_name attribute #18432
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.stats
Milestone
Describe your issue.
The option pdf_default_method is not used for pdf computation of levy_stable pdf.
Line 892 of file
__init__.py
pdf_default_method_name = levy_stable_gen.pdf_default_method
should be
pdf_default_method_name = self.pdf_default_method
similar to line 1037 for cdf computation.
Reproducing Code Example
Error message
(z-y).all() should return True
SciPy/NumPy/Python version and system information
The text was updated successfully, but these errors were encountered: