From 0e176f0cfbf8ca4fb0fe922080ca12b48da0fcd2 Mon Sep 17 00:00:00 2001 From: Shanigen Date: Sun, 9 Sep 2018 20:15:33 +0200 Subject: [PATCH] Again corrects error with Clang 3.8 in Travis CL --- src/fft_fftw.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/fft_fftw.cpp b/src/fft_fftw.cpp index e93e97c..ee1335b 100644 --- a/src/fft_fftw.cpp +++ b/src/fft_fftw.cpp @@ -7,14 +7,12 @@ #endif #if !defined(ASYNC) && !defined(OPENMP) && !defined(CUFFTW) -#define FFTW_PLAN_WITH_THREADS() fftw_plan_with_nthreads(int(m_num_threads)); +#define FFTW_PLAN_WITH_THREADS() fftw_plan_with_nthreads(4); #else #define FFTW_PLAN_WITH_THREADS() #endif -Fftw::Fftw() : m_num_threads(4) {} - -Fftw::Fftw(unsigned num_threads) : m_num_threads(num_threads) {} +Fftw::Fftw(){} void Fftw::init(unsigned width, unsigned height, unsigned num_of_feats, unsigned num_of_scales, bool big_batch_mode) { -- 2.39.2