Closed
Description
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
Labels
No labels