Skip to content

Commit ed1d419

Browse files
committed
Add missing headers
1 parent e895442 commit ed1d419

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

include/xsimd/arch/xsimd_scalar.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <type_traits>
2424

2525
#ifdef XSIMD_ENABLE_XTL_COMPLEX
26-
#include "xtl/xcomplex.hpp"
26+
#include <xtl/xcomplex.hpp>
2727
#endif
2828

2929
#ifdef __APPLE__

include/xsimd/types/xsimd_emulated_register.hpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
#include "./xsimd_common_arch.hpp"
1616
#include "./xsimd_register.hpp"
1717

18+
#ifdef XSIMD_ENABLE_XTL_COMPLEX
19+
#include <xtl/xcomplex.hpp>
20+
#endif
21+
22+
#include <array>
23+
#include <complex>
24+
#include <cstddef>
25+
1826
namespace xsimd
1927
{
2028
/**
@@ -70,7 +78,7 @@ namespace xsimd
7078
};
7179
#ifdef XSIMD_ENABLE_XTL_COMPLEX
7280
template <typename T, bool i3ec, size_t N>
73-
struct has_simd_register<xtl::complex<T, T, i3ec>, emulated<N>> : std::true_type
81+
struct has_simd_register<xtl::xcomplex<T, T, i3ec>, emulated<N>> : std::true_type
7482
{
7583
};
7684
#endif

include/xsimd/types/xsimd_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <utility>
2121

2222
#ifdef XSIMD_ENABLE_XTL_COMPLEX
23-
#include "xtl/xcomplex.hpp"
23+
#include <xtl/xcomplex.hpp>
2424
#endif
2525

2626
#include "./xsimd_batch_fwd.hpp"

0 commit comments

Comments
 (0)