-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
Builds of xcfun fail on i686 and arm7hl architectures in Fedora.
The reason is broken C++ code:
/builddir/build/BUILD/xcfun-2.1.1/python/export_xcfun.cpp: In lambda function:
/builddir/build/BUILD/xcfun-2.1.1/python/export_xcfun.cpp:145:44: error: call of overloaded 'array_t(<brace-enclosed initializer list>)' is ambiguous
145 | {{nr_points, output_len}});
| ^
In file included from /builddir/build/BUILD/xcfun-2.1.1/python/export_xcfun.cpp:15:
/usr/include/pybind11/numpy.h:865:14: note: candidate: 'pybind11::array_t<T, ExtraFlags>::array_t(pybind11::array::ShapeContainer, const T*, pybind11::handle) [with T = double; int ExtraFlags = 17; pybind11::array::ShapeContainer = pybind11::detail::any_container<int>]'
865 | explicit array_t(ShapeContainer shape, const T *ptr = nullptr, handle base = handle())
| ^~~~~~~
/usr/include/pybind11/numpy.h:835:64: note: candidate: 'pybind11::array_t<double, 17>::array_t(const pybind11::array_t<double, 17>&)'
835 | template <typename T, int ExtraFlags = array::forcecast> class array_t : public array {
| ^~~~~~~
/usr/include/pybind11/numpy.h:835:64: note: candidate: 'pybind11::array_t<double, 17>::array_t(pybind11::array_t<double, 17>&&)'
The same issue exists on
Metadata
Metadata
Assignees
Labels
No labels