Skip to content

Commit 1a4be24

Browse files
committed
Use polisirreducible() instead of isirreducible()
1 parent 7bf4211 commit 1a4be24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cypari2/gen.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4109,7 +4109,7 @@ cdef class Gen(Gen_base):
41094109
non-constant polynomial, or False if f is reducible or constant.
41104110
"""
41114111
sig_on()
4112-
t = isirreducible(self.g)
4112+
t = polisirreducible(self.g)
41134113
clear_stack()
41144114
return t != 0
41154115

cypari2/paridecl.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3850,7 +3850,7 @@ cdef extern from *: # PARI headers already included by types.pxd
38503850
GEN glcm0(GEN x, GEN y)
38513851
GEN gp_factor0(GEN x, GEN flag)
38523852
GEN idealfactorback(GEN nf, GEN L, GEN e, int red)
3853-
long isirreducible(GEN x)
3853+
long polisirreducible "isirreducible"(GEN x)
38543854
GEN newtonpoly(GEN x, GEN p)
38553855
GEN nffactorback(GEN nf, GEN L, GEN e)
38563856
GEN nfrootsQ(GEN x)

0 commit comments

Comments
 (0)