@@ -82,7 +82,7 @@ fill(x, nm::Tuple{PosInfinity, PosInfinity}) = cache(Fill(x,nm...))
82
82
83
83
# This gets called when infinit number of columns
84
84
axes_print_matrix_row (_, io, X, A, i, :: AbstractVector{<:PosInfinity} , sep) = nothing
85
- print_matrix_row (io:: IO , X:: AbstractVecOrMat , A:: Vector , i:: Integer , cols:: AbstractVector{<:PosInfinity} , sep:: AbstractString ) = nothing
85
+ print_matrix_row (io:: IO , X:: AbstractVecOrMat , A:: Vector , i:: Integer , cols:: AbstractVector{<:PosInfinity} , sep:: AbstractString , idxlast :: Integer = last ( axes (X, 2 )) ) = nothing
86
86
Base. print_matrix_row (io:: IO ,
87
87
X:: Union {LayoutMatrix,
88
88
LayoutVector,
@@ -92,7 +92,7 @@ Base.print_matrix_row(io::IO,
92
92
HermOrSym{<: Any ,<: LayoutMatrix },
93
93
SubArray{<: Any ,2 ,<: LayoutMatrix },
94
94
Diagonal{<: Any ,<: LayoutVector }}, A:: Vector ,
95
- i:: Integer , cols:: AbstractVector{<:PosInfinity} , sep:: AbstractString ) =
95
+ i:: Integer , cols:: AbstractVector{<:PosInfinity} , sep:: AbstractString , idxlast :: Integer = last ( axes (X, 2 )) ) =
96
96
axes_print_matrix_row (axes (X), io, X, A, i, cols, sep)
97
97
Base. print_matrix_row (io:: IO ,
98
98
X:: Union {AbstractFill{<: Any ,1 },
@@ -101,7 +101,7 @@ Base.print_matrix_row(io::IO,
101
101
RectDiagonal,
102
102
AbstractTriangular{<: Any ,<: AbstractFill{<:Any,2} }
103
103
}, A:: Vector ,
104
- i:: Integer , cols:: AbstractVector{<:PosInfinity} , sep:: AbstractString ) =
104
+ i:: Integer , cols:: AbstractVector{<:PosInfinity} , sep:: AbstractString , idxlast :: Integer = last ( axes (X, 2 )) ) =
105
105
axes_print_matrix_row (axes (X), io, X, A, i, cols, sep)
106
106
107
107
0 commit comments