Skip to content

Commit

Permalink
print_matrix_row update (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty authored Mar 28, 2022
1 parent e1d96ed commit f14daa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "InfiniteArrays"
uuid = "4858937d-0d70-526a-a4dd-2d5cb5dd786c"
version = "0.12.4"
version = "0.12.5"

[deps]
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
Expand Down
6 changes: 3 additions & 3 deletions src/infarrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fill(x, nm::Tuple{PosInfinity, PosInfinity}) = cache(Fill(x,nm...))

# This gets called when infinit number of columns
axes_print_matrix_row(_, io, X, A, i, ::AbstractVector{<:PosInfinity}, sep) = nothing
print_matrix_row(io::IO, X::AbstractVecOrMat, A::Vector, i::Integer, cols::AbstractVector{<:PosInfinity}, sep::AbstractString) = nothing
print_matrix_row(io::IO, X::AbstractVecOrMat, A::Vector, i::Integer, cols::AbstractVector{<:PosInfinity}, sep::AbstractString, idxlast::Integer=last(axes(X, 2))) = nothing
Base.print_matrix_row(io::IO,
X::Union{LayoutMatrix,
LayoutVector,
Expand All @@ -92,7 +92,7 @@ Base.print_matrix_row(io::IO,
HermOrSym{<:Any,<:LayoutMatrix},
SubArray{<:Any,2,<:LayoutMatrix},
Diagonal{<:Any,<:LayoutVector}}, A::Vector,
i::Integer, cols::AbstractVector{<:PosInfinity}, sep::AbstractString) =
i::Integer, cols::AbstractVector{<:PosInfinity}, sep::AbstractString, idxlast::Integer=last(axes(X, 2))) =
axes_print_matrix_row(axes(X), io, X, A, i, cols, sep)
Base.print_matrix_row(io::IO,
X::Union{AbstractFill{<:Any,1},
Expand All @@ -101,7 +101,7 @@ Base.print_matrix_row(io::IO,
RectDiagonal,
AbstractTriangular{<:Any,<:AbstractFill{<:Any,2}}
}, A::Vector,
i::Integer, cols::AbstractVector{<:PosInfinity}, sep::AbstractString) =
i::Integer, cols::AbstractVector{<:PosInfinity}, sep::AbstractString, idxlast::Integer=last(axes(X, 2))) =
axes_print_matrix_row(axes(X), io, X, A, i, cols, sep)


Expand Down

2 comments on commit f14daa0

@dlfivefifty
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/57455

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.12.5 -m "<description of version>" f14daa0d4640a9355fa44cb0aa90104a55a058c3
git push origin v0.12.5

Please sign in to comment.