Skip to content

Commit

Permalink
StorageOrder trait for blast::StaticMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatliar authored and Mikhail Katliar committed Sep 20, 2024
1 parent 52fa378 commit ff36771
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/blast/math/dense/StaticMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,8 @@ namespace blast

template <typename T, size_t M, size_t N, bool SO>
struct Spacing<StaticMatrix<T, M, N, SO>> : std::integral_constant<size_t, StaticMatrix<T, M, N, SO>::spacing()> {};


template <typename T, size_t M, size_t N, bool SO>
struct StorageOrderHelper<StaticMatrix<T, M, N, SO>> : std::integral_constant<StorageOrder, StorageOrder(SO)> {};
}

0 comments on commit ff36771

Please sign in to comment.