From 4737ee06a7b9336955a28c03443b72a5ce1bb72e Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Wed, 21 Aug 2013 14:50:38 -0400 Subject: [PATCH] Removed 'critical' section as it may cause problem in calling function. The thread safety is left for the caller --- src/fourier/details/euclidian_transform.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fourier/details/euclidian_transform.hpp b/src/fourier/details/euclidian_transform.hpp index d87e610..eaab4fd 100644 --- a/src/fourier/details/euclidian_transform.hpp +++ b/src/fourier/details/euclidian_transform.hpp @@ -99,7 +99,6 @@ namespace CosmoTool boost::shared_ptr >((std::complex*)calls::alloc_complex(Nc), std::ptr_fun(calls::free)), dims[0], m_dims_hc, dk); -#pragma omp critical { m_analysis = calls::plan_dft_r2c(dims.size(), &swapped_dims[0], realMap->data(), (typename calls::complex_type *)fourierMap->data(),