Fix cute::array<T, 0> iterator (#1273)
This commit is contained in:
parent
8ac2edc810
commit
74d1f3e63a
@ -207,7 +207,7 @@ struct array<T, 0>
|
|||||||
using pointer = element_type*;
|
using pointer = element_type*;
|
||||||
using const_pointer = const element_type*;
|
using const_pointer = const element_type*;
|
||||||
using const_iterator = const_pointer;
|
using const_iterator = const_pointer;
|
||||||
using iterator = const_iterator;
|
using iterator = pointer;
|
||||||
|
|
||||||
CUTE_HOST_DEVICE constexpr
|
CUTE_HOST_DEVICE constexpr
|
||||||
reference operator[](size_type pos)
|
reference operator[](size_type pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user