Skip to content

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