Skip to content

Conversation

tdegeus
Copy link
Member

@tdegeus tdegeus commented May 28, 2021

Fix of the following:

I am using a library that uses 'xscalar'. Now I'm wrapping with xtensor-python and am getting on Windows only:

pytensor.hpp(436,18): error C2466: cannot allocate an array of constant size 0
...
message : see reference to function template instantiation 'xt::pytensor<double,0,xt::layout_type::dynamic> xt::pytensor<double,0,xt::layout_type::dynamic>::from_shape<std::array<size_t,0>>(S &&)' being compiled with
[
    S=std::array<size_t,0>
]

Ref: tdegeus/GMatTensor#29

@JohanMabille JohanMabille merged commit 2a68837 into xtensor-stack:master May 31, 2021
@tdegeus tdegeus deleted the scalar branch May 31, 2021 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants