From 0096b696a3704a566a4d1a6ebdf18badf04e8794 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Tue, 29 Sep 2015 16:38:22 +0200 Subject: [PATCH] Added new alias for type safety --- src/fourier/fft/fftw_calls_mpi.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fourier/fft/fftw_calls_mpi.hpp b/src/fourier/fft/fftw_calls_mpi.hpp index fe3506e..1b14128 100644 --- a/src/fourier/fft/fftw_calls_mpi.hpp +++ b/src/fourier/fft/fftw_calls_mpi.hpp @@ -46,6 +46,7 @@ public: \ static void execute(plan_type p) { prefix ## _execute(p); } \ static void execute_r2c(plan_type p, real_type *in, complex_type *out) { prefix ## _mpi_execute_dft_r2c(p, in, out); } \ static void execute_c2r(plan_type p, std::complex *in, real_type *out) { prefix ## _mpi_execute_dft_c2r(p, (complex_type*)in, out); } \ + static void execute_c2r(plan_type p, complex_type *in, real_type *out) { prefix ## _mpi_execute_dft_c2r(p, in, out); } \ static void execute_r2c(plan_type p, real_type *in, std::complex *out) { prefix ## _mpi_execute_dft_r2c(p, in, (complex_type*)out); } \ \ static plan_type plan_dft_r2c_2d(int Nx, int Ny, \