Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

array[::-1] size reported as 0 #77

Copy link
Copy link
@nbecker

Description

@nbecker
Issue body actions

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)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.