aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2021-02-27 16:16:10 +0100
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2021-02-27 18:44:26 +0100
commit4fb3459a2315b94541b122bc9fd16a26a8e861ec (patch)
tree8e89b867e770ac99c8c4bc9246f6fb154fa12e8f /unsupported
parent4bfcee47b92eec06cf099fd0beaffa72897d104b (diff)
Fix double-promotion warnings
(cherry picked from commit c22c103e932e511e96645186831363585a44b7a3)
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/src/FFT/ei_kissfft_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/FFT/ei_kissfft_impl.h b/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
index 303f85f13..430953aee 100644
--- a/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
+++ b/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
@@ -31,7 +31,7 @@ struct kiss_cpx_fft
using numext::cos;
m_inverse = inverse;
m_twiddles.resize(nfft);
- double phinc = 0.25 * EIGEN_PI / nfft;
+ double phinc = 0.25 * double(EIGEN_PI) / nfft;
Scalar flip = inverse ? Scalar(1) : Scalar(-1);
m_twiddles[0] = Complex(Scalar(1), Scalar(0));
if ((nfft&1)==0)