Skip to content

Commit

Permalink
fix typeo
Browse files Browse the repository at this point in the history
  • Loading branch information
baumgold committed Feb 2, 2024
1 parent 3c32637 commit 0fa25e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arraytypes/struct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct ToStruct{T,i,A} <: AbstractVector{T}
end

function ToStruct(x::A, j::Integer, hasmissing::Bool=false) where {A}
AT = fieldtype(eltype(A), k)
AT = fieldtype(eltype(A), j)
T = hasmissing ? Union{Missing,AT} : AT
ToStruct{T,j,A}(x)
end
Expand Down

0 comments on commit 0fa25e5

Please sign in to comment.