Removed 'critical' section as it may cause problem in calling function. The thread safety is left for the caller
This commit is contained in:
parent
083cad3c77
commit
4737ee06a7
@ -99,7 +99,6 @@ namespace CosmoTool
|
||||
boost::shared_ptr<std::complex<T> >((std::complex<T>*)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(),
|
||||
|
Loading…
Reference in New Issue
Block a user