-
Notifications
You must be signed in to change notification settings - Fork 40
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
Reduction over OffsetArray views triggers typeassert error #92
Comments
yha
changed the title
Reduction over OffsetArray views trigger typeassert error
Reduction over OffsetArray views triggers typeassert error
Dec 29, 2019
timholy
added a commit
to JuliaLang/julia
that referenced
this issue
Feb 15, 2020
The `reduced_indices` and `reduced_indices0` methods sometimes assert that the return axes type is the same as the input. Consequently, the implementation of `reduced_index` had better return a range of the same type as the input. This corrects the error in JuliaArrays/OffsetArrays.jl#92. I'll put a workaround in OffsetArrays.jl too.
Fixed in JuliaLang/julia#34770. We'll need a workaround here but let's first see how the discussion progresses there. |
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this issue
Feb 21, 2020
The `reduced_indices` and `reduced_indices0` methods sometimes assert that the return axes type is the same as the input. Consequently, the implementation of `reduced_index` had better return a range of the same type as the input. This corrects the error in JuliaArrays/OffsetArrays.jl#92. I'll put a workaround in OffsetArrays.jl too. (cherry picked from commit eda4131)
birm
pushed a commit
to birm/julia
that referenced
this issue
Feb 22, 2020
The `reduced_indices` and `reduced_indices0` methods sometimes assert that the return axes type is the same as the input. Consequently, the implementation of `reduced_index` had better return a range of the same type as the input. This corrects the error in JuliaArrays/OffsetArrays.jl#92. I'll put a workaround in OffsetArrays.jl too.
timholy
added a commit
that referenced
this issue
Mar 29, 2020
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this issue
Apr 11, 2020
The `reduced_indices` and `reduced_indices0` methods sometimes assert that the return axes type is the same as the input. Consequently, the implementation of `reduced_index` had better return a range of the same type as the input. This corrects the error in JuliaArrays/OffsetArrays.jl#92. I'll put a workaround in OffsetArrays.jl too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On OffsetArrays master, Julia 1.3.0,
The text was updated successfully, but these errors were encountered: