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

it should not be possible to set an entry of a vector in a submodule #22075

Open
videlec opened this issue Dec 19, 2016 · 3 comments
Open

it should not be possible to set an entry of a vector in a submodule #22075

videlec opened this issue Dec 19, 2016 · 3 comments

Comments

@videlec
Copy link
Contributor

videlec commented Dec 19, 2016

sage: V = VectorSpace(QQ, 3)
sage: M = V.subspace([(1,0,0,),(0,1,0)])
sage: v = M()
sage: v
(0, 0, 0)
sage: v[2] = 2 # bug
sage: v
(0, 0, 2)
sage: v.parent()
Vector space of degree 3 and dimension 2 over Rational Field
Basis matrix:
[1 0 0]
[0 1 0]
sage: v in M # bug consequence 1
True
sage: V(v)   # bug consequence 2
(0, 0, 0)

See also:

Component: algebra

Keywords: bug

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

@videlec videlec added this to the sage-7.5 milestone Dec 19, 2016
@videlec

This comment has been minimized.

@videlec

This comment has been minimized.

@mkoeppe mkoeppe removed this from the sage-7.5 milestone Dec 29, 2022
@mkoeppe
Copy link
Member

mkoeppe commented Mar 31, 2023

Still unsolved as of 10.0.beta6

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