Loading include/dca/math/nfft/dnfft_1d.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -21,12 +21,14 @@ #include <algorithm> #include <cassert> #include <complex> #include <mutex> #include <stdexcept> #include <vector> #include <fftw3.h> #include "dca/config/haves_defines.hpp" #include "dca/config/threading.hpp" #include "dca/function/domains.hpp" #include "dca/function/function.hpp" #include "dca/math/nfft/domains/domains.hpp" Loading Loading @@ -400,7 +402,7 @@ void Dnfft1D<ScalarType, WDmn, PDmn, oversampling, mode>::transformFTauToFW( // as such does not meet the requirements of "Erasable" required by std::vector. std::vector<std::complex<double>> f_out(n / 2 + 1); static std::mutex fftw_mutex; static dca::parallel::thread_traits::mutex_type fftw_mutex; fftw_mutex.lock(); // See http://www.fftw.org/fftw3_doc/Complex-numbers.html for why the cast should be safe. fftw_plan plan = fftw_plan_dft_r2c_1d( Loading Loading
include/dca/math/nfft/dnfft_1d.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -21,12 +21,14 @@ #include <algorithm> #include <cassert> #include <complex> #include <mutex> #include <stdexcept> #include <vector> #include <fftw3.h> #include "dca/config/haves_defines.hpp" #include "dca/config/threading.hpp" #include "dca/function/domains.hpp" #include "dca/function/function.hpp" #include "dca/math/nfft/domains/domains.hpp" Loading Loading @@ -400,7 +402,7 @@ void Dnfft1D<ScalarType, WDmn, PDmn, oversampling, mode>::transformFTauToFW( // as such does not meet the requirements of "Erasable" required by std::vector. std::vector<std::complex<double>> f_out(n / 2 + 1); static std::mutex fftw_mutex; static dca::parallel::thread_traits::mutex_type fftw_mutex; fftw_mutex.lock(); // See http://www.fftw.org/fftw3_doc/Complex-numbers.html for why the cast should be safe. fftw_plan plan = fftw_plan_dft_r2c_1d( Loading