Should broadcast
on Adjoint
should use the parent array's BroadcastStyle
?
#25671
Labels
broadcast
Applying a function over a collection
Uh oh!
There was an error while loading. Please reload this page.
It seems that
BroadcastStyle(::Type{<:Adjoint})
uses the default style instead of that of its parent.E.g. at an earlier stage today I was upgrading StaticArrays to work on v0.7 and came across this:
This gives different results in
vector + vector'
than I originally expected, even though we've defined aStaticArrayStyle <: AbstractArrayStyle
.Would using the parent's array style work, or might there be some issues with that?
The text was updated successfully, but these errors were encountered: