-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Missing DimensionMismatch for SparseMatrixCSC assignment #28963
Comments
Also causes segmentation faults in some cases if the dimensions mismatch. |
KristofferC
added
bug
Indicates an unexpected problem or unintended behavior
sparse
Sparse arrays
labels
Aug 31, 2018
fgerick
changed the title
Missing DimensionMismatch for SparseMatrixCSC assignment in 0.7
Missing DimensionMismatch for SparseMatrixCSC assignment
Dec 18, 2018
ViralBShah
pushed a commit
that referenced
this issue
Dec 26, 2018
Use _setindex! to fix DimensionMismatch in sparse assignment Fixes #28963
staticfloat
pushed a commit
that referenced
this issue
Dec 30, 2018
Use _setindex! to fix DimensionMismatch in sparse assignment Fixes #28963
KristofferC
pushed a commit
that referenced
this issue
Dec 30, 2018
staticfloat
pushed a commit
that referenced
this issue
Jan 4, 2019
Use _setindex! to fix DimensionMismatch in sparse assignment Fixes #28963
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've encountered a strange behaviour of assigning to a
SparseMatrixCSC
in 0.7:This does not give a
DimensionMismatch
as it did in Julia v0.6, and I guess it should definitely give an error.In 0.7 it just assignes the 1:10,1:10 elements of b to a:
The broadcasted assignment, however, gives an error:
The text was updated successfully, but these errors were encountered: