File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,9 @@ namespace xt
293
293
struct xcontainer_inner_types <pyarray<T, L>>
294
294
{
295
295
using storage_type = xbuffer_adaptor<T*>;
296
+ using reference = typename storage_type::reference;
297
+ using const_reference = typename storage_type::const_reference;
298
+ using size_type = typename storage_type::size_type;
296
299
using shape_type = std::vector<typename storage_type::size_type>;
297
300
using strides_type = std::vector<typename storage_type::difference_type>;
298
301
using backstrides_type = pyarray_backstrides<pyarray<T, L>>;
Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ namespace xt
112
112
struct xcontainer_inner_types <pytensor<T, N, L>>
113
113
{
114
114
using storage_type = xbuffer_adaptor<T*>;
115
+ using reference = typename storage_type::reference;
116
+ using const_reference = typename storage_type::const_reference;
117
+ using size_type = typename storage_type::size_type;
115
118
using shape_type = std::array<npy_intp, N>;
116
119
using strides_type = shape_type;
117
120
using backstrides_type = shape_type;
You can’t perform that action at this time.
0 commit comments