Skip to content

Commit

Permalink
Update Utils.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Feb 2, 2024
1 parent 78f9a28 commit f588322
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ julia> using PseudostableRecurrences: slicetype # hide
julia> slicetype(Matrix{Float64})
$(
if VERSION < v"1.6"
"Array{Float64, 1}"
"Array{Float64,1}"
else
"Vector{Float64} (alias for Array{Float64, 1})"
end
Expand All @@ -24,7 +24,13 @@ julia> slicetype(UnitRange{Int})
Int64
julia> slicetype(BitArray{3})
BitMatrix (alias for BitArray{2})
$(
if VERSION < v"1.6"
"BitArray{2}"
else
"BitMatrix (alias for BitArray{2})"
end
)
```
"""
slicetype(T) = T
Expand Down

0 comments on commit f588322

Please sign in to comment.