You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a function which accepts nd::Array<complex,1,0> const&. I get the size from
boost::size()
I just noticed that when I pass it a python array
x[::-1]
then boost::size(x) -> 0!
Is this expected? I find it hard to believe that I've been using ndarray for years and never saw this, since I have lots of code that works this way (accepts nd::Array<T,1,0> and uses boost::size)
I have a function which accepts nd::Array<complex,1,0> const&. I get the size from
boost::size()
I just noticed that when I pass it a python array
x[::-1]
then boost::size(x) -> 0!
Is this expected? I find it hard to believe that I've been using ndarray for years and never saw this, since I have lots of code that works this way (accepts nd::Array<T,1,0> and uses boost::size)