From 5ff30a3d5e149d3e336d90004beb23079952544b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Wed, 12 Apr 2017 17:00:39 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@344 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- src/math/pifft_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math/pifft_p.h b/src/math/pifft_p.h index cdedf9fd..0b20f588 100644 --- a/src/math/pifft_p.h +++ b/src/math/pifft_p.h @@ -87,13 +87,13 @@ public: return v_out; } const PIVector > & calcFFTinverse(const PIVector > & in) { - if (prepare != PlanParams(in.size(), fo_complex)) { + if (prepare != PlanParams(in.size(), fo_inverse)) { newVec(p_in, in.size()); newVec(p_out, in.size()); piCout << "[PIFFTW]" << "creating plan"; p_createPlan_c2c_1d(plan, in.size(), p_in, p_out, FFTW_BACKWARD, FFTW_ESTIMATE | FFTW_DESTROY_INPUT); v_out.resize(in.size()); - prepare = PlanParams(in.size(), fo_complex); + prepare = PlanParams(in.size(), fo_inverse); } memcpy(p_in, in.data(), sizeof(complex) * in.size()); p_executePlan(plan);