#11457: Witt Vectors
---------------------------+------------------------------------------------
Reporter: tdupu | Owner: roed
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.7.1
Component: padics | Keywords: witt vectors, padic, rings
Work_issues: | Upstream: N/A
Reviewer: | Author: Taylor Dupuy, David Roe
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by tdupu):
roed314: the coercion system catches other problems and doesn't forward
them all on
your real problem is:
100 return x[0]
101 if n>0:
--> 102 divs = divisors(n)
103 dict = {}
104 wn = 0
NameError: global name 'divisors' is not defined
you need to import divisors from sage.rings.arith
me: so you have to do like nn=Integer(n)
nn.divisors()
roed314: that would work too
then you have to import Integer
from sage.rings.integer
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11457#comment:3>
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.