File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ install:
2121 - conda update -q conda
2222 - conda info -a
2323 - conda install cmake -c conda-forge
24- - conda install xtensor=0.21.4 -c conda-forge
24+ - conda install xtensor=0.22.0 -c conda-forge
2525 - conda install m2w64-openblas -c msys2
2626 # Patch OpenBLASConfig.cmake
2727 - ps : (Get-Content $Env:MINICONDA\Library\mingw-w64\lib\cmake\openblas\OpenBLASConfig.cmake).replace('mingw64', 'mingw-w64') | Set-Content $Env:MINICONDA\Library\mingw-w64\lib\cmake\openblas\OpenBLASConfig.cmake
Original file line number Diff line number Diff line change 4141 conda install cmake==3.14.0 ^
4242 mkl-devel ^
4343 ninja ^
44- xtensor=0.21.4 ^
44+ xtensor=0.22.0 ^
4545 python=3.6
4646 conda list
4747 displayName: "Install conda packages"
Original file line number Diff line number Diff line change @@ -35,21 +35,13 @@ namespace xt
3535 return std::forward<T>(t);
3636 }
3737
38- namespace detail
39- {
40- constexpr layout_type layout_remove_any (const layout_type layout)
41- {
42- return layout == layout_type::any ? XTENSOR_DEFAULT_LAYOUT : layout;
43- }
44- }
45-
4638 template <layout_type L = layout_type::row_major, class T , class I = std::decay_t <T>>
4739 inline auto view_eval (T&& t)
4840 -> std::enable_if_t<(!has_data_interface<std::decay_t <T>>::value || I::static_layout != L)
4941 && detail::is_array<typename I::shape_type>::value,
5042 xtensor<typename I::value_type,
5143 std::tuple_size<typename I::shape_type>::value,
52- detail:: layout_remove_any(L)>>
44+ layout_remove_any(L)>>
5345 {
5446 return t;
5547 }
@@ -58,7 +50,7 @@ namespace xt
5850 inline auto view_eval (T&& t)
5951 -> std::enable_if_t<(!has_data_interface<std::decay_t <T>>::value || I::static_layout != L) &&
6052 !detail::is_array<typename I::shape_type>::value,
61- xarray<typename I::value_type, detail:: layout_remove_any(L)>>
53+ xarray<typename I::value_type, layout_remove_any(L)>>
6254 {
6355 return t;
6456 }
You can’t perform that action at this time.
0 commit comments