We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c32637 commit 0fa25e5Copy full SHA for 0fa25e5
src/arraytypes/struct.jl
@@ -78,7 +78,7 @@ struct ToStruct{T,i,A} <: AbstractVector{T}
78
end
79
80
function ToStruct(x::A, j::Integer, hasmissing::Bool=false) where {A}
81
- AT = fieldtype(eltype(A), k)
+ AT = fieldtype(eltype(A), j)
82
T = hasmissing ? Union{Missing,AT} : AT
83
ToStruct{T,j,A}(x)
84
0 commit comments