File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -202,10 +202,10 @@ blockstype(arraytype::Type{<:BlockSparseArray}) = SparseArrayDOK{AbstractArray}
202202
203203# TypeParameterAccessors.jl interface
204204using TypeParameterAccessors: TypeParameterAccessors, Position, set_type_parameters
205- TypeParameterAccessors. position (:: Type{BlockSparseArray} , eltype) = Position (1 )
206- TypeParameterAccessors. position (:: Type{BlockSparseArray} , ndims) = Position (2 )
207- TypeParameterAccessors. position (:: Type{BlockSparseArray} , blocktype) = Position (3 )
208- TypeParameterAccessors. position (:: Type{BlockSparseArray} , blockstype) = Position (4 )
205+ TypeParameterAccessors. position (:: Type{BlockSparseArray} , :: typeof ( eltype) ) = Position (1 )
206+ TypeParameterAccessors. position (:: Type{BlockSparseArray} , :: typeof ( ndims) ) = Position (2 )
207+ TypeParameterAccessors. position (:: Type{BlockSparseArray} , :: typeof ( blocktype) ) = Position (3 )
208+ TypeParameterAccessors. position (:: Type{BlockSparseArray} , :: typeof ( blockstype) ) = Position (4 )
209209
210210# TODO : Make this generic to `AbstractBlockSparseVector` using
211211# TypeParameterAccessors.jl, for example using:
You can’t perform that action at this time.
0 commit comments