Opened 13 years ago

Closed 13 years ago

#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: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
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 (1)

9609.patch (1.6 KB) - added by was 13 years ago.
this fixes the bug!

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by was

this fixes the bug!

comment:1 Changed 13 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.

comment:2 Changed 13 years ago by was

  • Milestone set to sage-3.0.1

comment:3 Changed 13 years ago by boothby

  • Summary changed from [with patch; needs review] Sparse vector spaces don't cast on assignment. to [with patch; positive review] Sparse vector spaces don't cast on assignment.

works for me

comment:4 Changed 13 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in Sage 3.0.1.alpha0

Note: See TracTickets for help on using tickets.