Skip to content

Commit

Permalink
UnitRange{Int} -> unitrange (JuliaLang#39668)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty authored and ElOceanografo committed May 4, 2021
1 parent 18b2698 commit 050be67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/arrayshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ function _show_nonempty(io::IO, X::AbstractMatrix, prefix::String)
indr, indc = axes(X,1), axes(X,2)
nr, nc = length(indr), length(indc)
rdots, cdots = false, false
rr1, rr2 = UnitRange{Int}(indr), 1:0
cr1 = UnitRange{Int}(indc)
rr1, rr2 = unitrange(indr), 1:0
cr1 = unitrange(indc)
cr2 = first(cr1) .+ (0:-1)
if limit
if nr > 4
Expand Down

0 comments on commit 050be67

Please sign in to comment.