#6339: multivariate polynomial content is broken
---------------------------------+------------------------------------------
Reporter: ncalexan | Owner: malb
Type: defect | Status: new
Priority: minor | Milestone: sage-4.0.3
Component: commutative algebra | Keywords: polynomial content
Reviewer: | Author:
Merged: |
---------------------------------+------------------------------------------
{{{
sage: QQ['x, y'].random_element().content()
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/home/ncalexan/.sage/temp/sage.math.washington.edu/8651/_home_ncalexan__sage_init_sage_0.py
in <module>()
/scratch/ncalexan/sage-4.0.2.alpha1/local/lib/python2.5/site-
packages/sage/rings/polynomial/multi_polynomial.so in
sage.rings.polynomial.multi_polynom\
ial.MPolynomial.content (sage/rings/polynomial/multi_polynomial.c:9118)()
/scratch/ncalexan/sage-4.0.2.alpha1/local/lib/python2.5/site-
packages/sage/rings/arith.pyc in gcd(a, b, **kwargs)
1209 if U is ZZ or U is int or U is long:#
ZZ.has_coerce_map_from(U):
1210 return sage.rings.integer.GCD_list(a)
-> 1211 return __GCD_sequence(seq, **kwargs)
1212
1213 GCD = gcd
/scratch/ncalexan/sage-4.0.2.alpha1/local/lib/python2.5/site-
packages/sage/rings/arith.pyc in __GCD_sequence(v, **kwargs)
1249 one = v.universe()(1)
1250 for vi in v:
-> 1251 g = vi.gcd(g, **kwargs)
1252 if g == one:
1253 return g
TypeError: gcd() takes no keyword arguments
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6339>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---