Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fixed last todo
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpc5 committed Sep 19, 2018
1 parent a5d0e7f commit dd429d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sage/libs/gap/element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2814,10 +2814,7 @@ cdef class GapElement_Permutation(GapElement):
if parent is None:
return Permutation(lst.sage(), check_input=False)
else:
# TODO: test that the parent is fine
one = parent.one()
one_c = one
return one_c._generate_new_GAP(lst)
return parent.one()._generate_new_GAP(lst)

############################################################################
### GapElement_Record ######################################################
Expand Down

0 comments on commit dd429d5

Please sign in to comment.