Skip to content

Broadcasting shape mismatch exception (Trac #1893) #2486

@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/1893 on 2011-07-04 by trac user smif1984, assigned to unknown.

The exception which is currently, (v1.6), raised when two non
broadcastable arrays are summed is a ValueError exception. I propose to create a specific exception class, e.g. BroadcastError, to be more specific and give better control in exception catching?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions