We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2d84d2 commit 5fabca8Copy full SHA for 5fabca8
include/xtensor-python/pyarray.hpp
@@ -261,7 +261,7 @@ namespace xt
261
inline pyarray<T>::pyarray(const shape_type& shape, layout l)
262
{
263
strides_type strides;
264
- base_type::fill_default_strides(shape, l, strides);
+ compute_strides(shape, l, strides);
265
init_array(shape, strides);
266
}
267
include/xtensor-python/pytensor.hpp
@@ -179,7 +179,7 @@ namespace xt
179
template <class T, std::size_t N>
180
inline pytensor<T, N>::pytensor(const shape_type& shape, layout l)
181
182
- base_type::fill_default_strides(shape, l, m_strides);
+ compute_strides(shape, l, m_strides);
183
init_tensor(shape, m_strides);
184
185
0 commit comments