Skip to content

Commit 90c9497

Browse files
committed
simplify LayoutMatrices
1 parent b402c14 commit 90c9497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ArrayLayouts.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ abstract type LayoutArray{T,N} <: AbstractArray{T,N} end
8282
const LayoutMatrix{T} = LayoutArray{T,2}
8383
const LayoutVector{T} = LayoutArray{T,1}
8484
const LayoutVecOrMat{T} = Union{LayoutVector{T},LayoutMatrix{T}}
85-
const LayoutMatrices{T} = Union{LayoutMatrix{T}, SubArray{T,2,<:LayoutVecOrMat}}
86-
const LayoutVecOrMats{T} = Union{LayoutVecOrMat{T}, SubArray{T,1,<:LayoutVecOrMat}, SubArray{T,2,<:LayoutVecOrMat}}
85+
const LayoutMatrices{T} = Union{LayoutMatrix{T}, SubArray{T,2,<:LayoutMatrix}}
86+
const LayoutVecOrMats{T} = Union{LayoutVecOrMat{T}, SubArray{T,1,<:LayoutVecOrMat}, SubArray{T,2,<:LayoutMatrix}}
8787

8888

8989
## TODO: Following are type piracy which may be removed in Julia v1.5

0 commit comments

Comments
 (0)