Skip to content

Commit

Permalink
Allow GAP.Obj(x,true) for recursive conversion (#910)
Browse files Browse the repository at this point in the history
This makes it much more convenient to use from GAP: Julia.GAP.Obj(x,true)
  • Loading branch information
fingolfin authored Jul 21, 2023
1 parent 38af454 commit 38e6f74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ GapObj(x::GapObj) = x
Obj(obj; recursive::Bool = false) = julia_to_gap(obj, IdDict(); recursive)::Obj
GapObj(obj; recursive::Bool = false) = julia_to_gap(obj, IdDict(); recursive)::GapObj

Obj(obj, recursive::Bool) = julia_to_gap(obj, IdDict(); recursive)::Obj
GapObj(obj, recursive::Bool) = julia_to_gap(obj, IdDict(); recursive)::GapObj

"""
BigInt(obj::GapObj)
Expand Down

0 comments on commit 38e6f74

Please sign in to comment.