Ticket #11241 (closed defect: fixed)
Theta series of degree 2 uses "int" instead of "ZZ" for coefficients
| Reported by: | tornaria | Owned by: | justin |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.7.1 |
| Component: | quadratic forms | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Jonathan Hanke |
| Authors: | Gonzalo Tornaría | Merged in: | sage-4.7.1.alpha0 |
| Dependencies: | Stopgaps: |
Description
sage: Q = QuadraticForm(ZZ, 2, [1,1,1]) sage: F = Q.theta_series_degree_2(20) sage: map(type, F.values()) [<type 'sage.rings.integer.Integer'>, <type 'int'>, <type 'int'>, <type 'int'>, <type 'int'>, <type 'int'>, <type 'sage.rings.integer.Integer'>, <type 'int'>]
For consistency, all the returned coefficients should be in ZZ.
Attachments
Change History
Changed 2 years ago by tornaria
-
attachment
trac_11241.patch
added
comment:2 Changed 2 years ago by jonhanke
- Status changed from needs_review to positive_review
This is a cosmetic change, to give consistency to the output. Looks good. =)
comment:3 Changed 2 years ago by jdemeyer
- Status changed from positive_review to needs_work
There should not be an empty line at the beginning of the commit message.
Note: See
TracTickets for help on using
tickets.

Fix theta series coefficients to be in ZZ