Skip to content

Commit

Permalink
Changed default IsList conversion
Browse files Browse the repository at this point in the history
to return Array{Union{Any,Nothing},1}
  • Loading branch information
sebasguts authored and fingolfin committed Nov 29, 2018
1 parent 98e6693 commit 55baa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibGAP.jl/src/gap_to_julia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function gap_to_julia(x::MPtr)
elseif Globals.IsString(x)
return gap_to_julia(AbstractString,x)
elseif Globals.IsList(x)
return gap_to_julia(Array{Any,1},x)
return gap_to_julia(Array{Union{Any,Nothing},1},x)
elseif Globals.IsRecord(x)
return gap_to_julia(Dict{Symbol,Any},x)
end
Expand Down

0 comments on commit 55baa50

Please sign in to comment.