Skip to content

Commit

Permalink
fixing LGTM reports
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewReid854 committed Apr 27, 2022
1 parent a022c81 commit ac812ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reliability/Distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def PDF(self, xvals=None, xmin=None, xmax=None, show_plot=True, **kwargs):
be based on the distribution's parameters.
"""
X, xvals, xmin, xmax, show_plot = distributions_input_checking(
self, "PDF", xvals, xmin, xmax, show_plot
self=self, func="PDF", xvals=xvals, xmin=xmin, xmax=xmax, show_plot=show_plot
)

pdf = ss.weibull_min.pdf(X, self.beta, scale=self.alpha, loc=self.gamma)
Expand Down

0 comments on commit ac812ba

Please sign in to comment.