Skip to content

Commit 279ec5c

Browse files
authored
Fix print_matrix_row on Julia v1.8 (#90)
1 parent a5767f7 commit 279ec5c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name = "ArrayLayouts"
22
uuid = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
33
authors = ["Sheehan Olver <[email protected]>"]
4-
version = "0.8"
4+
version = "0.8.1"
55

66
[deps]
77
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
99
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1010

1111
[compat]
12-
FillArrays = "0.13.1"
12+
FillArrays = "0.13.2"
1313
julia = "1.6"
1414

1515
[extras]

src/ArrayLayouts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Base.print_matrix_row(io::IO,
362362
HermOrSym{<:Any,<:LayoutMatrix},
363363
SubArray{<:Any,2,<:LayoutMatrix},
364364
Diagonal{<:Any,<:LayoutVector}}, A::Vector,
365-
i::Integer, cols::AbstractVector, sep::AbstractString) =
365+
i::Integer, cols::AbstractVector, sep::AbstractString, idxlast::Integer=last(axes(X, 2))) =
366366
axes_print_matrix_row(axes(X), io, X, A, i, cols, sep)
367367

368368

0 commit comments

Comments
 (0)