Skip to content

Commit

Permalink
Fixed nothing return in gap_to_julia
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasguts authored and fingolfin committed Nov 29, 2018
1 parent a6e4dab commit cf70841
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LibGAP.jl/src/gap_to_julia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ gap_to_julia(::Type{GAPInputType},x::GAPInputType) = x
gap_to_julia(::Type{Any}, x::GAPInputType) = gap_to_julia(x)
gap_to_julia(::Type{Any}, x::Any ) = x
gap_to_julia(::Any, x::Nothing ) = nothing
gap_to_julia(::Type{Any}, x::Nothing ) = nothing

## Integers
gap_to_julia(::Type{Int128} ,x::Int64) = trunc(Int128 ,x)
Expand Down

0 comments on commit cf70841

Please sign in to comment.