You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before NumPy v2, the repr of NumPy scalars returned a plain number. This changed in NEP 51, which changes how the result of broadcast_shapes() is printed:
There is no functional difference here, but it is much less intuitive to read - especially problematic for documentation/notebooks.
What does everyone think of adding a line into broadcast_shapes to ensure that only plain integers are returned? Would this have any unintended consequences? Many thanks.