Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sparse vector spaces don't cast on assignment. #3025

Closed
boothby opened this issue Apr 25, 2008 · 3 comments
Closed

Sparse vector spaces don't cast on assignment. #3025

boothby opened this issue Apr 25, 2008 · 3 comments

Comments

@boothby
Copy link

boothby commented Apr 25, 2008

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'>

Component: linear algebra

Issue created by migration from https://trac.sagemath.org/ticket/3025

@williamstein
Copy link
Contributor

Attachment: 9609.patch.gz

this fixes the bug!

@boothby
Copy link
Author

boothby commented Apr 25, 2008

comment:3

works for me

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 25, 2008

comment:4

Merged in Sage 3.0.1.alpha0

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Apr 25, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants