We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba0ab8 commit 126d30fCopy full SHA for 126d30f
2 files changed
include/xtensor-fftw/helper.hpp
@@ -9,6 +9,9 @@
9
#ifndef XTENSOR_FFTW_HELPER_HPP
10
#define XTENSOR_FFTW_HELPER_HPP
11
12
+#define _USE_MATH_DEFINES // for MSVC ("Math Constants are not defined in Standard C/C++")
13
+#include <cmath> // M_PI
14
+
15
#include <xtensor/xarray.hpp>
16
17
namespace xt {
test/examples.cpp
@@ -8,10 +8,13 @@
8
// real life examples
+#include <complex>
#include <xtensor-fftw/basic.hpp>
#include <xtensor-fftw/helper.hpp>
-#include <complex>
18
#include <xtensor/xbuilder.hpp> // xt::arange
19
#include <xtensor/xmath.hpp> // xt::sin, cos
20
#include <xtensor/xio.hpp>
0 commit comments