Skip to content

Commit eda0cfb

Browse files
committed
Support Vcat(1,2:∞) in sortedunion
1 parent eca72e7 commit eda0cfb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "InfiniteLinearAlgebra"
22
uuid = "cde9dba0-b1de-11e9-2c62-0bab9446c55c"
3-
version = "0.6.3"
3+
version = "0.6.4"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"

src/blockbanded/blockbanded.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function BlockArrays.sortedunion(a::RangeCumsum{<:Any,<:InfStepRange}, b::RangeC
1919
end
2020

2121

22-
function BlockArrays.sortedunion(a::Vcat{Int,1,<:Tuple{<:AbstractVector{Int},InfStepRange{Int,Int}}},
23-
b::Vcat{Int,1,<:Tuple{<:AbstractVector{Int},InfStepRange{Int,Int}}})
24-
@assert a == b
22+
function BlockArrays.sortedunion(a::Vcat{Int,1,<:Tuple{Union{Int,AbstractVector{Int}},InfStepRange{Int,Int}}},
23+
b::Vcat{Int,1,<:Tuple{Union{Int,AbstractVector{Int}},InfStepRange{Int,Int}}})
24+
@assert a == b # TODO: generailse? Not sure how to do so in a type stable fashion
2525
a
2626
end
2727

0 commit comments

Comments
 (0)