Skip to content

__array_priority__ regression #81

Closed
@ZacDiggum

Description

@ZacDiggum

Hi,
I just installed the third v3.3 bugfix release. The problem with adding / multiplying numpy scalars and af arrays somehow came back. See the discussion with @FilipeMaia, issue #69.
Try something like:

a = af.randu(5,5)
b = np.sin(1)*a

b will be a numpy array. Back then, Filipe changed the __array_priority__ attribute.

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