-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
There are a variety of overloads for create_array
, one of which is for transposed vectors:
@inline function create_array(A::Type{<:Transpose{T,P}}, S, nd::Val, d::Val, elems...) where {T,P}
create_array(P, S, nd, d, elems...)
end
would it make sense to add an overload for Adjoint
as well? Hit this case when using '
versus 'transpose'. I addressed this by using the latter, but figure that (unless it is intentionally omitted),
@inline function create_array(A::Type{<:Adjoint{T,P}}, S, nd::Val, d::Val, elems...) where {T,P}
create_array(P, S, nd, d, elems...)
end
would be a nice addition.
Thanks!
krsteffen
Metadata
Metadata
Assignees
Labels
No labels