Skip to content

[BUG] BlockSparseVector displays sparse zero as 0 instead of . #77

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

Closed
ogauthe opened this issue Mar 7, 2025 · 1 comment · Fixed by #79
Closed

[BUG] BlockSparseVector displays sparse zero as 0 instead of . #77

ogauthe opened this issue Mar 7, 2025 · 1 comment · Fixed by #79
Assignees
Labels
bug Something isn't working

Comments

@ogauthe
Copy link
Collaborator

ogauthe commented Mar 7, 2025

As mentioned in #73 . Of course this is low priority but would be nice to fix.

bsa = BlockSparseArray{Float64}(undef,[2,2])
eachblockstoredindex(bsa)
display(eachblockstoredindex(bsa))
display(bsa)
0-element Dictionaries.Dictionary{CartesianIndex{1}, Block{1, Int64}}

2-blocked 4-element BlockSparseVector{Float64, Vector{Float64}, , }:
 0.0
 0.0
 ───
 0.0
 0.0
@ogauthe ogauthe added the bug Something isn't working label Mar 7, 2025
@mtfishman mtfishman self-assigned this Mar 7, 2025
@mtfishman
Copy link
Member

Should be fixed now, but please report any other issues you come across.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants