From 050be67263392fb18086fb5c888c00562e985c67 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Mon, 15 Feb 2021 17:40:30 +0000 Subject: [PATCH] UnitRange{Int} -> unitrange (#39668) --- base/arrayshow.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/arrayshow.jl b/base/arrayshow.jl index ecf673da3a764..0b441f8ce5e82 100644 --- a/base/arrayshow.jl +++ b/base/arrayshow.jl @@ -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