| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9e0f1ad commit 075106b
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -190,10 +190,10 @@ from the `docs` subdirectory. | |||
| 190 | 190 | | `xtensor-python` | `xtensor` | `pybind11` | | |
| 191 | 191 | |-------------------|------------|-------------| | |
| 192 | 192 | | master | ^0.10.9 | ^2.1.0 | | |
| 193 | - | 0.12.x | ^0.10.2 | ^2.1.0 | | ||
| 194 | - | 0.11.x | ^0.10.0 | ^2.1.0 | | ||
| 195 | - | 0.10.x | ^0.9.0 | ^2.1.0 | | ||
| 196 | - | 0.9.x | ^0.8.1 | ^2.1.0 | | ||
| 193 | + | 0.12.x | ^0.10.2 | 2.1.\* | | ||
| 194 | + | 0.11.x | ^0.10.0 | 2.1.\* | | ||
| 195 | + | 0.10.x | ^0.9.0 | 2.1.\* | | ||
| 196 | + | 0.9.x | ^0.8.1 | 2.1.\* | | ||
| 197 | 197 | ||
| 198 | 198 | These dependencies are automatically resolved when using the conda package manager. | |
| 199 | 199 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,6 +113,7 @@ namespace xt | |||
| 113 | 113 | using inner_strides_type = pystrides_adaptor<sizeof(T)>; | |
| 114 | 114 | using inner_backstrides_type = backstrides_type; | |
| 115 | 115 | using temporary_type = pyarray<T>; | |
| 116 | + static constexpr layout_type layout = layout_type::dynamic; | ||
| 116 | 117 | }; | |
| 117 | 118 | ||
| 118 | 119 | /** | |
@@ -386,7 +387,7 @@ namespace xt | |||
| 386 | 387 | */ | |
| 387 | 388 | template <class T> | |
| 388 | 389 | inline pyarray<T>::pyarray(const self_type& rhs) | |
| 389 | - : base_type() | ||
| 390 | + : base_type(), semantic_base(rhs) | ||
| 390 | 391 | { | |
| 391 | 392 | auto tmp = pybind11::reinterpret_steal<pybind11::object>( | |
| 392 | 393 | PyArray_NewLikeArray(rhs.python_array(), NPY_KEEPORDER, nullptr, 1)); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,6 @@ | |||
| 13 | 13 | #include <functional> | |
| 14 | 14 | #include <numeric> | |
| 15 | 15 | ||
| 16 | - #include "pybind11/common.h" | ||
| 17 | 16 | #include "pybind11/complex.h" | |
| 18 | 17 | #include "pybind11/pybind11.h" | |
| 19 | 18 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,6 +94,7 @@ namespace xt | |||
| 94 | 94 | using inner_strides_type = strides_type; | |
| 95 | 95 | using inner_backstrides_type = backstrides_type; | |
| 96 | 96 | using temporary_type = pytensor<T, N>; | |
| 97 | + static constexpr layout_type layout = layout_type::dynamic; | ||
| 97 | 98 | }; | |
| 98 | 99 | ||
| 99 | 100 | /** | |
| Back | FazBrowse Home | New Git URL |
0 commit comments