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

Let OneElement be AbstractSparseArray? #344

Open
putianyi889 opened this issue Jan 30, 2024 · 2 comments
Open

Let OneElement be AbstractSparseArray? #344

putianyi889 opened this issue Jan 30, 2024 · 2 comments

Comments

@putianyi889
Copy link
Contributor

putianyi889 commented Jan 30, 2024

For general purposes where the type doesn't propagate, it should be promoted to a concrete sparse array. Example:

@jishnub
Copy link
Member

jishnub commented Jan 30, 2024

Could you make a PR?

On second thoughts, this would require a hard dependency on SparseArrays

@putianyi889
Copy link
Contributor Author

this would require a hard dependency on SparseArrays

create a new package StaticSparseArrays?

looks like SparseArrays.jl is mostly SparseMatrixCSCs.jl and there is not much generic interface...

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

No branches or pull requests

2 participants