Skip to content

Commit 8f05301

Browse files
committed
move one include out of a namespace to fix compilation with Eigen
1 parent d7568dc commit 8f05301

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Common/include/parallelization/vectorization.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
#include <initializer_list>
3333
#include <algorithm>
3434
#include <cmath>
35+
#ifdef __SSE2__
36+
#include "x86intrin.h"
37+
#endif
3538

3639
namespace simd {
3740

@@ -163,7 +166,6 @@ constexpr auto abs_mask_d = 0x7FFFFFFFFFFFFFFFL;
163166
constexpr auto sign_mask_d = 0x8000000000000000L;
164167

165168
#ifdef __SSE2__
166-
#include "x86intrin.h"
167169
/*!
168170
* Create specialization for array of 2 doubles (this should be always available).
169171
*/

0 commit comments

Comments
 (0)