Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Aug 5, 2021
1 parent c067304 commit 4703ffa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rows.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,13 @@ Base.IteratorSize(::Type{<:Rows}) = Base.SizeUnknown()
end

function checkwidencolumns!(r::Rows{t, ct, V}, cols) where {t, ct, V}
if cols > length(r.columns)
if cols > length(r.values)
# we widened while parsing this row, need to widen other supporting objects
for i = (length(r.columns) + 1):cols
for i = (length(r.values) + 1):cols
push!(r.values, V === Any ? missing : Base.bitcast(PosLen, Parsers.MISSING_BIT))
nm = Symbol(:Column, i)
push!(r.names, nm)
r.lookup[nm] = length(r.columns)
r.lookup[nm] = length(r.values)
push!(r.columnmap, i)
end
end
Expand Down

0 comments on commit 4703ffa

Please sign in to comment.