From 6c1f0a4f3a82394a9c10bb16739ac177108a8361 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 29 Dec 2018 04:04:20 -0800 Subject: [PATCH] update 47 --- lib/cepstrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cepstrum.py b/lib/cepstrum.py index 359f09b..69b9966 100644 --- a/lib/cepstrum.py +++ b/lib/cepstrum.py @@ -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