Skip to content

Raise TypeError if dask array is given as shape for da.ones, zeros, empty or full#4707

Merged
jcrist merged 1 commit intodask:masterfrom
GenevieveBuckley:typerror-ones-zeros
Apr 17, 2019
Merged

Raise TypeError if dask array is given as shape for da.ones, zeros, empty or full#4707
jcrist merged 1 commit intodask:masterfrom
GenevieveBuckley:typerror-ones-zeros

Conversation

@GenevieveBuckley
Copy link
Contributor

Raise a TypeError if dask array is given as shape for dask array ones(), zeros(), empty() or full()

Closes #4691

  • Tests passed
  • Passes flake8 dask

@jcrist
Copy link
Member

jcrist commented Apr 17, 2019

LGTM, thanks for the fix!

@jcrist jcrist merged commit 9063212 into dask:master Apr 17, 2019
jorge-pessoa pushed a commit to jorge-pessoa/dask that referenced this pull request May 14, 2019
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.

dask.array.ones() and dask.array.zeros() do not accept dask arrays as input

2 participants