#13845: BooleanPolynomialRing.random_element chokes on terms parameter of type
rational
--------------------------------+-------------------------------------------
Reporter: malb | Owner: AlexGhitza
Type: defect | Status: new
Priority: major | Milestone: sage-5.6
Component: basic arithmetic | Keywords:
Work issues: | Report Upstream: None of the above - read
trac for reasoning.
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
--------------------------------+-------------------------------------------
This shouldn't produce an error:
{{{
sage: n = 10
sage: B = BooleanPolynomialRing(n, 'x')
sage: B.random_element(terms=(n/2)**2))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13845>
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.