From 5de9ccf7ee7d293b9422f283729577cec5d86916 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 27 Sep 2020 01:13:43 +0800 Subject: [PATCH] typo --- noptica.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noptica.py b/noptica.py index 06a513b..a3fe8fb 100644 --- a/noptica.py +++ b/noptica.py @@ -202,8 +202,8 @@ class LinearPhaseFilter: return output def delay(self): - assert(self.numptaps % 2 == 1) - return (self.numptaps - 1)//2 + assert(self.numtaps % 2 == 1) + return (self.numtaps - 1)//2 class Delay: