Skip to content

Commit 0fa25e5

Browse files
committed
fix typeo
1 parent 3c32637 commit 0fa25e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arraytypes/struct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct ToStruct{T,i,A} <: AbstractVector{T}
7878
end
7979

8080
function ToStruct(x::A, j::Integer, hasmissing::Bool=false) where {A}
81-
AT = fieldtype(eltype(A), k)
81+
AT = fieldtype(eltype(A), j)
8282
T = hasmissing ? Union{Missing,AT} : AT
8383
ToStruct{T,j,A}(x)
8484
end

0 commit comments

Comments
 (0)