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

Sum zero-arrays #363

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Sum zero-arrays #363

wants to merge 8 commits into from

Conversation

mcabbott
Copy link
Contributor

@mcabbott mcabbott commented Jun 22, 2021

Closes #362

Does not handle keywords, note that dims is an error on normal Arrays, but init is respected so perhaps should be here too:

julia> sum(fill(3), init=99)
102

julia> sum(fill(3), dims=1)
ERROR: BoundsError: attempt to access Tuple{} at index [1]

CI failure for GPU seems to be printing code?

@maleadt
Copy link
Member

maleadt commented Jul 22, 2021

Good to go?

@mcabbott
Copy link
Contributor Author

Sadly not -- status when last I looked was that my "better way" seemed not to be called at all, and I wasn't sure why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sum of zero-array fails
2 participants