Ticket #3025 (closed defect: fixed)
[with patch; positive review] Sparse vector spaces don't cast on assignment.
| Reported by: | boothby | Owned by: | was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.0.1 |
| Component: | linear algebra | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
sage: V = VectorSpace(GF(2),10, sparse=True) sage: w = V(0) sage: w[0] = 2 sage: print w[0] 2 sage: print type(w[0]) <type 'sage.rings.integer.Integer'>
Attachments
Change History
Changed 5 years ago by was
-
attachment
9609.patch
added
comment:1 Changed 5 years ago by was
- Summary changed from Sparse vector spaces don't cast on assignment. to [with patch; needs review] Sparse vector spaces don't cast on assignment.
Note: See
TracTickets for help on using
tickets.

this fixes the bug!