Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 20, 2024
1 parent 850c778 commit dae9e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmeutils/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ def autocorr1D(array):
"""
ft = np.fft.rfft(array - np.average(array))
acorr = np.fft.irfft(ft * np.conjugate(ft)) / (len(array) * np.var(array))
return acorr[0 : len(acorr) // 2] # noqa: E203
return acorr[0 : len(acorr) // 2] # noqa: E203

0 comments on commit dae9e65

Please sign in to comment.