Fix cute::array<T, 0> iterator (#1273)

This commit is contained in:
Eugene Zhulenev
2024-01-08 14:10:09 -08:00
committed by GitHub
parent 8ac2edc810
commit 74d1f3e63a

View File

@@ -207,7 +207,7 @@ struct array<T, 0>
using pointer = element_type*;
using const_pointer = const element_type*;
using const_iterator = const_pointer;
using iterator = const_iterator;
using iterator = pointer;
CUTE_HOST_DEVICE constexpr
reference operator[](size_type pos)