git-svn-id: svn://db.shs.com.ru/pip@396 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-17 14:39:55 +00:00
parent 1946b7b48b
commit 8304f59d09
2 changed files with 7 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)