git-svn-id: svn://db.shs.com.ru/pip@396 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -152,6 +152,7 @@ endif()
|
||||
# Check if PIP support fftw3 for PIFFT using in math module
|
||||
if(FFTW)
|
||||
message(STATUS "Building with fftw3 support")
|
||||
# find_library(${fftw3} ${LIB_})
|
||||
add_definitions(-DPIP_FFTW)
|
||||
if(WIN32)
|
||||
add_definitions(-DPIP_FFTW_THREADSAFE)
|
||||
|
||||
@@ -11,15 +11,17 @@ using std::complex;
|
||||
|
||||
typedef complex<int> complexi;
|
||||
typedef complex<float> complexf;
|
||||
typedef complex<double> complexd;
|
||||
typedef complex<ldouble> complexld;
|
||||
#ifndef QPIEVALUATOR_COMPLEX
|
||||
typedef complex<double> complexd;
|
||||
|
||||
const complexld complexld_i(0., 1.);
|
||||
const complexld complexld_0(0.);
|
||||
const complexld complexld_1(1.);
|
||||
const complexd complexd_i(0., 1.);
|
||||
const complexd complexd_0(0.);
|
||||
const complexd complexd_1(1.);
|
||||
#endif
|
||||
const complexld complexld_i(0., 1.);
|
||||
const complexld complexld_0(0.);
|
||||
const complexld complexld_1(1.);
|
||||
|
||||
__PICONTAINERS_SIMPLE_TYPE__(complexi)
|
||||
__PICONTAINERS_SIMPLE_TYPE__(complexf)
|
||||
|
||||
Reference in New Issue
Block a user