Skip to content

Commit

Permalink
default value for SOA
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatalon committed Jan 13, 2025
1 parent 265ee64 commit e8d90a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/samurai/storage/containers_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ namespace samurai
// Static array //
//--------------//

template <class value_type, std::size_t size, bool SOA>
template <class value_type, std::size_t size, bool SOA = false>
#if defined(SAMURAI_FIELD_CONTAINER_EIGEN3)
using Array = eigen_static_array<value_type, size, SOA>;
#else // SAMURAI_FIELD_CONTAINER_XTENSOR
using Array = xtensor_static_array<value_type, size>;
#endif

template <class value_type, std::size_t size, bool SOA>
template <class value_type, std::size_t size, bool SOA = false>
using CollapsArray = CollapsableArray<Array<value_type, size, SOA>, value_type, size>;

//----------------//
Expand Down

0 comments on commit e8d90a9

Please sign in to comment.