File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ install:
2424 - conda info -a
2525 - conda install gtest cmake -c conda-forge
2626 - conda install pytest numpy pybind11==2.2.1 -c conda-forge
27- - conda install xtensor==0.16 .0 -c QuantStack
27+ - conda install xtensor==0.17 .0 -c QuantStack
2828 - " set PYTHONHOME=%MINICONDA%"
2929 - cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%MINICONDA%\\Library -D BUILD_TESTS=ON -D PYTHON_EXECUTABLE=%MINICONDA%\\python.exe .
3030 - nmake test_xtensor_python
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ install:
9797 - conda info -a
9898 - conda install pytest numpy pybind11==2.2.1 -c conda-forge
9999 - conda install cmake gtest -c conda-forge
100- - conda install xtensor==0.16 .0 -c QuantStack
100+ - conda install xtensor==0.17 .0 -c QuantStack
101101 - cmake -D BUILD_TESTS=ON -D CMAKE_INSTALL_PREFIX=$HOME/miniconda .
102102 - make -j2 test_xtensor_python
103103 - make install
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ namespace xt
288288 {
289289 using storage_type = xbuffer_adaptor<T*>;
290290 using shape_type = std::vector<typename storage_type::size_type>;
291- using strides_type = shape_type ;
291+ using strides_type = std::vector< typename storage_type::difference_type> ;
292292 using backstrides_type = pyarray_backstrides<pyarray<T, L>>;
293293 using inner_shape_type = xbuffer_adaptor<std::size_t *>;
294294 using inner_strides_type = pystrides_adaptor<sizeof (T)>;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace xt
3434 using vector_type = uvector<int >;
3535 using size_type = typename C::value_type;
3636 using shape_type = C;
37- using strides_type = C ;
37+ using strides_type = get_strides_t <shape_type> ;
3838
3939 using assigner_type = std::vector<std::vector<vector_type>>;
4040
You can’t perform that action at this time.
0 commit comments