Skip to content

Commit dae9e65

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 850c778 commit dae9e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmeutils/sampling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ def autocorr1D(array):
113113
"""
114114
ft = np.fft.rfft(array - np.average(array))
115115
acorr = np.fft.irfft(ft * np.conjugate(ft)) / (len(array) * np.var(array))
116-
return acorr[0 : len(acorr) // 2] # noqa: E203
116+
return acorr[0 : len(acorr) // 2] # noqa: E203

0 commit comments

Comments
 (0)