Test dimensional reduce with non-bitstype#27457
Conversation
e88bf71 to
297f210
Compare
|
Bump. I was going to make the same PR. @JeffBezanson Any objections?
julia> mapreduce(cos, +, Union{Int,Missing}[1], dims=1)
ERROR: InexactError: Int64(Int64, 0.5403023058681398)EDIT: actually, more changes are needed to fix the above test case. I guess the only really correct solution will be to use the type of EDIT2: maybe as a temporary fix we could do |
That does sound a bit better to me --- using |
|
I've implemented that in the first commit of #28027. |
|
Fixed by #28089, but would be good to add the test case from here. |
db27d6c to
665068e
Compare
665068e to
f250511
Compare
|
Force-pushed this to a commit with just the test-case if there's still interest in including it. |
Fixes #26709 (see discussion on reasoning in issue)