Skip to content

nan-functions do not preserve matrix subclass (Trac #405) #1003

Closed

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/405 on 2006-12-21 by trac user svetosch, assigned to unknown.

Keith reported on the mailing list (sorry don't have latest numpy installed currently to test myself but Keith is usually reliable ...) that the functions nanmin, nanmax, nanargmin, nanargmax, nansum return an array when given a matrix subclass, as opposed to virtually all other numpy functions.

(due to first line being y=array(a))
-sven

Activity

  1. numpy-gitbot commented on Oct 19, 2012

    @numpy-gitbot
    Author

    @teoliphant wrote on 2007-05-11

    Added subok=True to all nan functions to fix this.

  2. numpy-gitbot commented on Oct 19, 2012

    @numpy-gitbot
    Author

    @teoliphant wrote on 2007-05-11

    Fixed in r3749

  3. numpy-gitbot commented on Oct 19, 2012

    @numpy-gitbot
    Author

    Milestone changed to 1.0.3 Release by @alberts on 2007-05-12

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions