Skip to content

Commit e4c91aa

Browse files
authored
Delete unneeded show helper function (#66)
1 parent 302cdda commit e4c91aa

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BlockSparseArrays"
22
uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.2.24"
4+
version = "0.2.25"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/abstractblocksparsearray/abstractblocksparsearray.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ function Base.setindex!(
7878
return a
7979
end
8080

81-
using TypeParameterAccessors: unspecify_type_parameters
82-
function show_typeof_blocksparse(io::IO, a::AbstractBlockSparseArray)
83-
Base.show(io, unspecify_type_parameters(typeof(a)))
84-
print(io, '{')
85-
show(io, eltype(a))
86-
print(io, ", ")
87-
show(io, ndims(a))
88-
print(io, ", ")
89-
show(io, blocktype(a))
90-
print(io, ", …")
91-
print(io, '}')
92-
return nothing
93-
end
94-
9581
# Copy of `Base.dims2string` defined in `show.jl`.
9682
function dims_to_string(d)
9783
isempty(d) && return "0-dimensional"

0 commit comments

Comments
 (0)