Ticket #9929 (new defect)

Opened 3 years ago

Last modified 3 years ago

polynomial ring over pAdics doesn't respect the sparse argument

Reported by: ylchapuy Owned by: AlexGhitza
Priority: major Milestone: sage-5.10
Component: algebra Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by ylchapuy) (diff)

sage: R.<x> = PolynomialRing(Zp(17), sparse=True)
sage: x**(10**10)
Traceback (most recent call last)
...
MemoryError:

This should work (and be fast). The solution is probably in the file polynomial_ring_constructor.py in the function single_variate.

Change History

comment:1 Changed 3 years ago by ylchapuy

  • Description modified (diff)
Note: See TracTickets for help on using tickets.