Skip to content

Commit

Permalink
anell and listcreate are deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Aug 1, 2017
1 parent 2c504a2 commit b94714f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypari2/gen.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3428,7 +3428,7 @@ cdef class Gen(Gen_auto):
<... 'int'>
"""
sig_on()
cdef GEN g = anell(self.g, n)
cdef GEN g = ellan(self.g, n)
if python_ints:
v = [gtolong(gel(g, i+1)) for i in range(glength(g))]
clear_stack()
Expand Down
2 changes: 1 addition & 1 deletion cypari2/pari_instance.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ cdef class Pari(Pari_auto):
"""
if x is None:
sig_on()
return new_gen(listcreate())
return new_gen(mklist())
cdef Gen t0 = objtogen(x)
sig_on()
return new_gen(gtolist(t0.g))
Expand Down

0 comments on commit b94714f

Please sign in to comment.