xtl
xtl copied to clipboard
The x template library
How do I get integral value (`int` or `unsigned int`) from `xt::sum()` to return from function `f2()`? I tried: ``` int f2(const xt::xtensor_fixed &img) { return xt::sum(xt::argmax(img, 1))(); } ```...
This PR helps users of the [Bazel build system](https://bazel.build/) to integrate xtl in their builds. Supporting two build systems (CMake and Bazel) is of course more effort to maintain but...
Could be nice to experiment with a rebase action e.g. https://github.com/marketplace/actions/automatic-rebase
Just dropping this here while I am looking at the issue.
Hi, Im updating xframe, where is xtl/xvariant.hpp? ``` template struct xdynamic_traits_impl { using value_type = xtl::variant; using reference = xtl::variant; using const_reference = xtl::variant; using pointer = xtl::xclosure_pointer; using const_pointer...
# Description Lower the minimum CMake version to allow installing on LTS versions of Ubuntu, since the actual CMake code doesn't require the new CMake version. Arguably it would be...
Compilation error in MacOS: no member named 'terminate' in namespace 'std'; did you mean 'template'?
I'm installing XTL on MacOS, building the tests as well. During this build I get the error: ``` In file included from /Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/test/test_xhalf_float.cpp:17: In file included from /Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/include/xtl/xhalf_float.hpp:14: /Users/amwink/software/cpp/bispackage/dep/xtensor-stack/xtl/include/xtl/xhalf_float_impl.hpp:4022:8: error:...
If I read this part correctly https://github.com/xtensor-stack/xtl/blob/174e99da6e27c3ee5837fb74e7e65330af4cd2a6/test/CMakeLists.txt#L120-L135 The ctest would run eact test twice, once in `xtest` and once in `${targetname}`. Why not get rid of the former? Also the...