#4776: random element of multivariate polynomial ring in one variable is totally
broken
---------------------------------+------------------------------------------
Reporter: was | Owner: malb
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: commutative algebra | Keywords:
---------------------------------+------------------------------------------
{{{
sage: R.<x> = PolynomialRing(Integers(3), 1)
sage: R.random_element()
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/Users/wstein/sage/build/sage-3.2.2.alpha0/devel/sage-
main/sage/rings/<ipython console> in <module>()
/Users/wstein/sage/build/sage-3.2.2.alpha0/local/lib/python2.5/site-
packages/sage/rings/polynomial/multi_polynomial_ring_generic.so in
sage.rings.polynomial.multi_polynomial_ring_generic.MPolynomialRing_generic.random_element
(sage/rings/polynomial/multi_polynomial_ring_generic.c:7404)()
TypeError: Cannot compute polynomial with more terms than exist.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4776>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---