We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 520e4f8 commit 680c6a4Copy full SHA for 680c6a4
include/xtensor-python/pytensor.hpp
@@ -214,7 +214,7 @@ namespace xt
214
static self_type ensure(pybind11::handle h);
215
static bool check_(pybind11::handle h);
216
217
-#if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
+#if (PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3) || (PYBIND11_VERSION_MAJOR >= 3)
218
// Prevent ambiguous overload resolution for operators defined for
219
// both xt::xcontainer_semantic and pybind11::object.
220
using semantic_base::operator+=;
0 commit comments