fix(math): fix with_storage trait
This commit is contained in:
@@ -112,7 +112,7 @@ struct tensor_traits<tensor<T, Dims...>> {
|
||||
static constexpr std::size_t size = dynamic ? dynamic_extent : (Dims * ... * 1);
|
||||
|
||||
template <typename ST>
|
||||
using with_storage_t = typename detail::tensor_with_storage<ST>::type;
|
||||
using with_storage_t = typename detail::tensor_with_storage<ST>::template type<T, Dims...>;
|
||||
};
|
||||
|
||||
} // namespace math
|
||||
|
||||
Reference in New Issue
Block a user