From 047269df784712444f79576d106c0c55998dea83 Mon Sep 17 00:00:00 2001 From: Casper Date: Mon, 1 Jul 2024 16:19:22 +0200 Subject: [PATCH] empty() --> np.empty() --- python_src/lasp/lasp_octavefilter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_src/lasp/lasp_octavefilter.py b/python_src/lasp/lasp_octavefilter.py index f8aeb43..78edcab 100644 --- a/python_src/lasp/lasp_octavefilter.py +++ b/python_src/lasp/lasp_octavefilter.py @@ -246,8 +246,8 @@ class SosFilterBank: for i, x in enumerate(self.xs): channel = self.designer.createSOSFilter(x) if sos is None: - sos = empty((channel.size, len(self.xs))) - sos[:, i] = channel.flatten() + sos = np.empty((channel.size, len(self.xs))) + sos[:, i] = channel.flatten() self._fb = BiquadBank(sos)