update 47

This commit is contained in:
Connor Olding 2018-12-29 04:04:20 -08:00
parent 49194905f2
commit 6c1f0a4f3a

View File

@ -33,7 +33,7 @@ def fold(r):
rw = r
elif n % 2 == 1:
nt = (n + 1)//2
rf = r[1:nt] + conj(r[-1:nt-1:-1])
rf = r[1:nt] + np.conj(r[-1:nt-1:-1])
rw = np.r_[r[0], rf, np.zeros(n-nt)]
else:
nt = n//2