Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Fixing bug in shortTermExtreme.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleresterly committed Jul 13, 2017
1 parent 2031f9c commit 28a0722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WDRT/shortTermExtreme.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def empiricalCdf(x,m=0):
N = len(x_cdf) + m
i = np.arange(N) + 1.
cdf = (i) / (N + 1.)
return x_cdf, cdf[m:]
return x_cdf, cdf[int(m):]


def cdf2pdf(x, cdf):
Expand Down

0 comments on commit 28a0722

Please sign in to comment.