[BUG] Broadcasting incongruent numpy arrays causes segmentation fault #2618
Labels
bug
Something isn't working
help wanted
Extra attention is needed
mojo-python-interop
mojo-repo
Tag all issues with this label
Bug description
In Numpy, when attempting to perform operations on pairs of arrays of different shapes, Numpy tries to broadcast the arrays to make the shapes compatible. When this is not successful, an exception is raised in Python.
In mojo, no exception is raised and mojo continues execution with a `` pointer.
Steps to reproduce
Here is a minimal example:
Which segfaults with the following message:
System information
The text was updated successfully, but these errors were encountered: