From c244e44630e611e038d1f18992bea400f7d7b6cb Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sat, 5 Apr 2025 21:13:36 -0300 Subject: Switched to fftw allocators to ensure correct alignment for SIMD instructions --- fourier.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fourier.hpp') diff --git a/fourier.hpp b/fourier.hpp index 1ebb7bc..9451f69 100644 --- a/fourier.hpp +++ b/fourier.hpp @@ -19,10 +19,11 @@ Real ddf(Real λ, unsigned p, unsigned s, Real q); class FourierTransform { private: - std::vector a; - std::vector â; + Real* a; + Complex* â; fftw_plan plan_r2c; fftw_plan plan_c2r; + unsigned n; Real Δω; Real Δτ; public: -- cgit v1.2.3-70-g09d2