dpilger26 / NumCpp

C++ implementation of the Python Numpy library
https://dpilger26.github.io/NumCpp
MIT License
3.55k stars 550 forks source link

nc::stack, hstack, vstack operates on std::initialier_list<> only. #196

Closed TorokLev closed 1 year ago

TorokLev commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Due to its definition it is impossible to stack dynamically anything. So it makes it completely useless

To Reproduce

include

std::list<nc::NdArray> ll; ll.push_back({10,2,3,4}); nc::hstack(ll); // fails here

Expected behavior A clear and concise description of what you expected to happen.

not failing.

dpilger26 commented 1 year ago

Implemented as part of release version 2.11.0.