Skip to content

Commit d12ad28

Browse files
Add missing method.
1 parent dd0f95e commit d12ad28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/DataLayouts/struct.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ parent_array_type(::Type{<:MArray{S, T, N, L}}) where {S, T, N, L} =
9191
MArray{S, T}
9292
parent_array_type(::Type{<:SubArray{T, N, A}}) where {T, N, A} =
9393
parent_array_type(A)
94-
94+
#--------------->>??????????????????????/
95+
parent_array_type(::Type{LinearAlgebra.Transpose{T, Matrix{T}}}) = Matrix{T}
96+
#--------------->>??????????????????????/
9597
# ReshapedArray is needed for converting between arrays and fields for RRTMGP:
9698
parent_array_type(::Type{<:Base.ReshapedArray{T, N, P}}) where {T, N, P} =
9799
parent_array_type(P)

0 commit comments

Comments
 (0)