We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After updating to the newest StaticArrays (1.6.2), indexing a HybridArray seems not to be possible any more:
A = HybridArray{Tuple{2,2,StaticArrays.Dynamic()}}(randn(2,2,100)); A[1:2]
Throws a MethodError: similar(::HybridArray{Tuple{2, 2, StaticArraysCore.Dynamic()}, Float64, 3, 3, Array{Float64, 3}}, ::Type{Float64}, ::Tuple{Base.OneTo{Int64}}) is ambiguous
MethodError: similar(::HybridArray{Tuple{2, 2, StaticArraysCore.Dynamic()}, Float64, 3, 3, Array{Float64, 3}}, ::Type{Float64}, ::Tuple{Base.OneTo{Int64}}) is ambiguous
As it states similar, I think the problem is related to JuliaArrays/StaticArrays.jl#1176. When downgrading to StaticArrays 1.6.1, it works.
The text was updated successfully, but these errors were encountered:
Thanks for reporting it, I will fix it in a moment.
Sorry, something went wrong.
Fix #65
cf86d57
8c32f4c
No branches or pull requests
After updating to the newest StaticArrays (1.6.2), indexing a HybridArray seems not to be possible any more:
Throws a
MethodError: similar(::HybridArray{Tuple{2, 2, StaticArraysCore.Dynamic()}, Float64, 3, 3, Array{Float64, 3}}, ::Type{Float64}, ::Tuple{Base.OneTo{Int64}}) is ambiguous
As it states similar, I think the problem is related to JuliaArrays/StaticArrays.jl#1176. When downgrading to StaticArrays 1.6.1, it works.
The text was updated successfully, but these errors were encountered: