Skip to content

BUG: incorrect promotion of scalars in logspace #24957

@seberg

Description

@seberg

gh-23275 added broadcasting before the promotion happened, which is incorrect for 0-D objects as they may have special promotion rules (value-based or Python int/float/complex being special).

First reported at cupy/cupy#7946

Ping @byrdie since it was your PR.

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