Skip to content

Commit

Permalink
Merge pull request #103 from davidanthoff/fix-102
Browse files Browse the repository at this point in the history
Fix bug #102
  • Loading branch information
davidanthoff authored Mar 31, 2017
2 parents 7a58b7a + 270a276 commit cf157f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/source_dataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ end
constructor_call = Expr(:call, :($T))
for i in 1:length(iter.types[2].types)
if iter.parameters[1].parameters[i] <: Nullable
push!(constructor_call.args, :(isna(columns[$i][i]) ? $(iter.parameters[1].parameters[i])() : columns[$i][i]))
push!(constructor_call.args, :(isna(columns[$i], i) ? $(iter.parameters[1].parameters[i])() : columns[$i][i]))
else
push!(constructor_call.args, :(columns[$i][i]))
end
Expand Down

0 comments on commit cf157f0

Please sign in to comment.