commit e5b25505221b88bbede90d571233cacb891f08ec
parent 74689beca7ac52f7b5170beef5696282491001af
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Sat, 12 Nov 2022 17:40:47 +0000
Fix tensor_subscript template argument
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/base/tensor.hpp b/include/kfr/base/tensor.hpp
@@ -456,7 +456,7 @@ public:
};
}
- using tensor_subscript<T, tensor<T, NDims>, std::make_index_sequence<NDims>>::operator();
+ using tensor_subscript<T, tensor<T, NDims>, std::make_integer_sequence<index_t, NDims>>::operator();
template <index_t dims>
KFR_MEM_INTRINSIC tensor<T, dims> reshape_may_copy(const kfr::shape<dims>& new_shape,