1 #ifndef MEDUSA_BITS_OPERATORS_UNIFORMSHAPESTORAGE_HPP_
2 #define MEDUSA_BITS_OPERATORS_UNIFORMSHAPESTORAGE_HPP_
18 template <
typename vec_t,
typename OpFamilies>
20 support_size_ = (domain_size_ > 0) ? support_sizes[0] : 0;
21 for (
int s : support_sizes) {
22 assert_msg(support_size_ == s,
"Not all support sizes are equal, got sizes %d and %d. "
23 "Use RaggedShapeStorage instead.", support_size_, s);
27 support_.resize(domain_size_ * support_size_, -1);
28 resize_internal::resize_storage_<OpFamilies, num_operators>::resize(
29 shapes_, domain_size_ * support_size_);
34 #endif // MEDUSA_BITS_OPERATORS_UNIFORMSHAPESTORAGE_HPP_