Skip to content

Commit

Permalink
Update table.jl (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcqls authored Sep 22, 2024
1 parent c1cd992 commit c695b6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/table.jl
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,11 @@ function infer_eltype(v::Vector{Any})
hasmissing = true
else
if t != Any && typeof(v[i]) != t
return Any
t = promote_type(t, typeof(v[i]))
if t == Any
return t
end
# return Any
else
t = typeof(v[i])
end
Expand Down

0 comments on commit c695b6f

Please sign in to comment.