#11850: random element of ideal
--------------------------------------------+-------------------------------
Reporter: dangtuanhiep | Owner: malb
Type: enhancement | Status: needs_work
Priority: trivial | Milestone: sage-5.1
Component: commutative algebra | Resolution:
Keywords: random, ideal, sd34 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Hiep Dang, Burcin Erocal | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------+-------------------------------
Comment (by dangtuanhiep):
Hi Burcin,
I am trying to apply this patch to version 5.0, but I get this error
Error compiling Cython file:
------------------------------------------------------------
...
elif terms == 0:
return self._zero_element
if degree == 0:
if terms != 1:
raise TypeError, "Cannot compute polynomial with more
terms than exist."
return k.random_element(**kwargs)
^
------------------------------------------------------------
sage/rings/polynomial/multi_polynomial_ring_generic.pyx:760:20: local
variable 'k' referenced before assignment
Error running command, failed with status 256.
Error installing modified sage library code.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11850#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.