Skip to content

array[0:0] should return empty array #26

Closed

Description

@FilipeMaia

Currently it is equivalent to array[:] which is quite surprising.

Activity

  1. FilipeMaia commented on Aug 28, 2015

    @FilipeMaia
    ContributorAuthor

    As empty arrays don't really exist yet a good compromise might to to return None.

  2. pavanky commented on Aug 28, 2015

    @pavanky
    Member

    They do exist. array(dim4()) is an empty array in ArrayFire. The functions not handling them properly is a different issue..

  3. modified the milestone: 3.3 on Dec 19, 2015
  4. pavanky commented on Mar 20, 2016

    @pavanky
    Member

    This is partially solved when using logical indexing in devel.

  5. modified the milestones: 3.3, 3.4 on Mar 20, 2016
  6. modified the milestones: 3.4, 3.5 on Sep 24, 2016
  7. pavanky commented on Sep 25, 2016

    @pavanky
    Member

    This is fixed in devel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions