Skip to content

Commit 068f409

Browse files
authored
fix deprecs (#12)
1 parent 182f50e commit 068f409

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/abstractblockarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ function Base.showerror(io::IO, ex::BlockBoundsError)
248248
print(io, summary(ex.a))
249249
if isdefined(ex, :i)
250250
print(io, " at block index [")
251-
print_joined(io, ex.i, ',')
251+
join(io, ex.i, ',')
252252
print(io, ']')
253253
end
254254
end

src/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function Base.print_matrix_row(io::IO,
2222
if isassigned(X,Int(i),Int(j)) # isassigned accepts only `Int` indices
2323
x = X[i,j]
2424
a = Base.alignment(io, x)
25-
sx = sprint(0, Base.showcompact_lim, x, env=io)
25+
sx = sprint(0, show, x, env=io)
2626
else
2727
a = Base.undef_ref_alignment
2828
sx = Base.undef_ref_str

0 commit comments

Comments
 (0)