Skip to content

Move broadcast functions to list of functions for manipulating arrays #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2022

Conversation

kgryte
Copy link
Contributor

@kgryte kgryte commented May 5, 2022

This PR

  • moves the broadcast functions broadcast_arrays and broadcast_to to the list of manipulation functions. Their inclusion in the list of data type functions seems to have been an oversight in PR: Add can-cast, broadcast-arrays and broadcast-to #132. This PR rectifies this and follows NumPy in defining these functions as manipulation functions.
  • does not change the normative content, merely their organization within the specification.

@kgryte kgryte added Maintenance Bug fix, typo fix, or general maintenance. topic: Broadcasting Array broadcasting. labels May 5, 2022
@kgryte kgryte added this to the v2022 milestone May 5, 2022
Copy link
Member

@honno honno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs updating __all__ in data_type_functions.py and manipulation_functions.py respective to their changes, otherwise LGTM.

@kgryte
Copy link
Contributor Author

kgryte commented May 9, 2022

@honno Thanks for catching!

@kgryte
Copy link
Contributor Author

kgryte commented May 22, 2022

As review comments have been addressed and this PR approved, will merge...

@kgryte kgryte merged commit 73dbcb5 into main May 22, 2022
@kgryte kgryte deleted the move-broadcast-fcns branch May 22, 2022 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Bug fix, typo fix, or general maintenance. topic: Broadcasting Array broadcasting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants