Skip to content

Commit

Permalink
Merge pull request xtensor-stack#2739 from spectre-ns/master
Browse files Browse the repository at this point in the history
Update to use XTENSOR_DEFAULT_ALIGNMENT when using XSIMD
  • Loading branch information
JohanMabille authored Nov 6, 2023
2 parents 9bc3b2c + 2afa7d0 commit 34cd549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xtensor/xtensor_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#else
#ifdef XTENSOR_USE_XSIMD

#define XTENSOR_DEFAULT_ALLOCATOR(T) xsimd::aligned_allocator<T, XSIMD_DEFAULT_ALIGNMENT>
#define XTENSOR_DEFAULT_ALLOCATOR(T) xsimd::aligned_allocator<T, XTENSOR_DEFAULT_ALIGNMENT>
#else
#define XTENSOR_DEFAULT_ALLOCATOR(T) std::allocator<T>
#endif
Expand Down

0 comments on commit 34cd549

Please sign in to comment.