You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
92: Rm duplicate type information in SparseContainers r=charleskawczynski a=charleskawczynski
This PR removes the duplicate type information in the SparseContainers type by requiring the input is an `NTuple`, and then adding
```julia
sc_eltype(::Type{NTuple{N, T}}) where {N, T} = T
sc_eltype(::SparseContainer{SIM, T}) where {SIM, T} = sc_eltype(T)
```
So that we can still retain the eltype information without explicitly storing it.
Co-authored-by: Charles Kawczynski <[email protected]>
0 commit comments