Skip to content

scalars and 0-dim arrays in expressions #621

@martaiborra

Description

@martaiborra

0-dim arrays are treated like scalars when evaluating an expression, but an expression cannot be evaluated without an array operand. That means, that if all the operands are scalars or 0-dim arrays, an error will be raised. Keep in mind that the reductions along the whole axis return a 0-dim array (as the Array API standard says). This should be fixed in order to compute simple operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions