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

zero & keytype always return Int64 for the index type #574

Open
dpinol opened this issue Oct 25, 2024 · 0 comments · May be fixed by #575
Open

zero & keytype always return Int64 for the index type #574

dpinol opened this issue Oct 25, 2024 · 0 comments · May be fixed by #575

Comments

@dpinol
Copy link
Contributor

dpinol commented Oct 25, 2024

julia> using SparseArrays

julia> v=spzeros(Int,Int32,10)
10-element SparseVector{Int64, Int32} with 0 stored entries

julia> keytype(v)
Int64

julia> zero(v)
10-element SparseVector{Int64, Int64} with 0 stored entries
@dpinol dpinol linked a pull request Oct 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant