We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have been experiencing compilation errors when trying to work with rtensor containing rlogical (i.e. boolean) data.
For example, if I turn your test
xtensor-r/test/rcpp_tests.cpp
Lines 56 to 61 in 0a84316
into
int cpp_lgl(xt::rtensor<rlogical, 2>& x) { xassert(x(0, 0) == 1); x(1, 1) = 0; return 1; }
Compilation fails when reaching https://github.com/xtensor-stack/xtensor/blob/d1499d900733cd089bd868ca1ca5fdce01e89b97/include/xtensor/xbuffer_adaptor.hpp#L630-L635 with the following error message:
cannot convert 'rlogical*' to 'xt::detail::xbuffer_storage<int*, std::allocator >::pointer' {aka 'int*'} in initialization
N.B. I am using xtensor==0.24.2 and xtensor-r==0.14.0.
xtensor==0.24.2
xtensor-r==0.14.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have been experiencing compilation errors when trying to work with rtensor containing rlogical (i.e. boolean) data.
For example, if I turn your test
xtensor-r/test/rcpp_tests.cpp
Lines 56 to 61 in 0a84316
into
Compilation fails when reaching https://github.com/xtensor-stack/xtensor/blob/d1499d900733cd089bd868ca1ca5fdce01e89b97/include/xtensor/xbuffer_adaptor.hpp#L630-L635 with the following error message:
N.B. I am using
xtensor==0.24.2
andxtensor-r==0.14.0
.The text was updated successfully, but these errors were encountered: