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 680c6a4 commit afc1672Copy full SHA for afc1672
include/xtensor-python/pyarray.hpp
@@ -195,7 +195,7 @@ namespace xt
195
static self_type ensure(pybind11::handle h);
196
static bool check_(pybind11::handle h);
197
198
-#if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
+#if (PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3) || PYBIND11_VERSION_MAJOR >= 3
199
// Prevent ambiguous overload resolution for operators defined for
200
// both xt::xcontainer_semantic and pybind11::object.
201
using semantic_base::operator+=;
0 commit comments