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:
24
24
- conda info -a
25
25
- conda install gtest cmake -c conda-forge
26
26
- 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
28
28
- " set PYTHONHOME=%MINICONDA%"
29
29
- cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%MINICONDA%\\Library -D BUILD_TESTS=ON -D PYTHON_EXECUTABLE=%MINICONDA%\\python.exe .
30
30
- nmake test_xtensor_python
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ install:
97
97
- conda info -a
98
98
- conda install pytest numpy pybind11==2.2.1 -c conda-forge
99
99
- 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
101
101
- cmake -D BUILD_TESTS=ON -D CMAKE_INSTALL_PREFIX=$HOME/miniconda .
102
102
- make -j2 test_xtensor_python
103
103
- make install
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ namespace xt
288
288
{
289
289
using storage_type = xbuffer_adaptor<T*>;
290
290
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> ;
292
292
using backstrides_type = pyarray_backstrides<pyarray<T, L>>;
293
293
using inner_shape_type = xbuffer_adaptor<std::size_t *>;
294
294
using inner_strides_type = pystrides_adaptor<sizeof (T)>;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace xt
34
34
using vector_type = uvector<int >;
35
35
using size_type = typename C::value_type;
36
36
using shape_type = C;
37
- using strides_type = C ;
37
+ using strides_type = get_strides_t <shape_type> ;
38
38
39
39
using assigner_type = std::vector<std::vector<vector_type>>;
40
40
You can’t perform that action at this time.
0 commit comments