update 47
This commit is contained in:
parent
49194905f2
commit
6c1f0a4f3a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def fold(r):
|
||||||
rw = r
|
rw = r
|
||||||
elif n % 2 == 1:
|
elif n % 2 == 1:
|
||||||
nt = (n + 1)//2
|
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)]
|
rw = np.r_[r[0], rf, np.zeros(n-nt)]
|
||||||
else:
|
else:
|
||||||
nt = n//2
|
nt = n//2
|
||||||
|
|
Loading…
Reference in a new issue