I've been testing the matrix eigen-stuff routines and stumbled across the following odd behavior. Each example is at the command-line in a fresh session of 4.7.1.alpha2.
It would appear that using "d" as a generator for the finite field consistently raises this error, while using almost any other letter or string will work fine (eg "foo" below). Before creating a ticket, I thought I would ask if anybody has some suspicions about "d" being special in the PARI code, or elsewhere, or if this is known already. sage: F.<d> = GF(3^2) sage: t = polygen(F, 't') sage: p = t^2 + (d+1) sage: p.factor() --------------------------------------------------------------------------- PariError Traceback (most recent call last) /sage/dev/devel/sage-main/<ipython console> in <module>() /sage/dev/local/lib/python2.6/site-packages/sage/rings/polynomial/ polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.factor (sage/rings/ polynomial/polynomial_element.c:19850)() /sage/dev/local/lib/python2.6/site-packages/sage/rings/finite_rings/ element_givaro.so in sage.rings.finite_rings.element_givaro.FiniteField_givaroElement._pari_ (sage/rings/finite_rings/element_givaro.cpp:12014)() /sage/dev/local/lib/python2.6/site-packages/sage/libs/pari/gen.so in sage.libs.pari.gen._pari_trap (sage/libs/pari/gen.c:47734)() PariError: not a function in function call (9) sage: F.<foo> = GF(3^2) sage: t = polygen(F, 't') sage: p = t^2 + (foo+1) sage: p.factor() (t + foo + 2) * (t + 2*foo + 1) -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
