GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bug in sort · Issue #262 · xtensor-stack/xtensor-python Open DescriptionThe following code #include <xtensor.hpp> #include <pybind11/pybind11.h> namespace py = pybind11; #define FORCE_IMPORT_ARRAY #include <xtensor-python/pyarray.hpp> #include <xtensor-python/pytensor.hpp> template <class T> inline auto foo(const T& arg) { return xt::sort(arg); } PYBIND11_MODULE(mymodule, m) { xt::import_numpy(); m.doc() = "Module description"; m.def("foo", &foo<xt::pytensor<size_t, 1>>, "Function description", py::arg("arg")); } Gives: on Windows. It works fine on macOS, and gives a very vague error message on Linux. For full CI, see tdegeus/xtensor-python_examples#1 ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |