Skip to content

Commit

Permalink
Use polisirreducible() instead of isirreducible()
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Aug 8, 2019
1 parent 7bf4211 commit 1a4be24
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 @@ -4109,7 +4109,7 @@ cdef class Gen(Gen_base):
non-constant polynomial, or False if f is reducible or constant.
"""
sig_on()
t = isirreducible(self.g)
t = polisirreducible(self.g)
clear_stack()
return t != 0

Expand Down
2 changes: 1 addition & 1 deletion cypari2/paridecl.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -3850,7 +3850,7 @@ cdef extern from *: # PARI headers already included by types.pxd
GEN glcm0(GEN x, GEN y)
GEN gp_factor0(GEN x, GEN flag)
GEN idealfactorback(GEN nf, GEN L, GEN e, int red)
long isirreducible(GEN x)
long polisirreducible "isirreducible"(GEN x)
GEN newtonpoly(GEN x, GEN p)
GEN nffactorback(GEN nf, GEN L, GEN e)
GEN nfrootsQ(GEN x)
Expand Down

0 comments on commit 1a4be24

Please sign in to comment.