Skip to content
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

Fix import for broadcast_to. #4168

Merged
merged 4 commits into from Nov 5, 2018
Merged

Fix import for broadcast_to. #4168

merged 4 commits into from Nov 5, 2018

Conversation

samc0de
Copy link
Contributor

@samc0de samc0de commented Nov 2, 2018

The import fails when it's not imported from numpy.

  • Tests added / passed
  • Passes flake8 dask

The import fails when it's not imported from numpy.
dask/array/chunk.py Outdated Show resolved Hide resolved
samc0de and others added 2 commits November 3, 2018 10:02
As mentioned in comments, the fallback version of broadcast_to has been removed.
These were always using NumPy's `broadcast_to` or our compat version of
it. So changing them to use NumPy directly should be fine.
@jakirkham
Copy link
Member

Thanks @samc0de. Pushed a small tweak to your branch to hopefully fix some CI failures.

@samc0de
Copy link
Contributor Author

samc0de commented Nov 5, 2018

Thanks @jakirkham for the updates.

@jcrist
Copy link
Member

jcrist commented Nov 5, 2018

LGTM. Thanks all.

@jcrist jcrist merged commit 54b9241 into dask:master Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants