File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ copy(L::Ldiv{<:AbstractBasisLayout,<:AbstractWeightLayout}) = transform_ldiv(L.A
122
122
@inline function _broadcast_mul_ldiv (:: Tuple{Any,AbstractBasisLayout} , A, B)
123
123
a,b = arguments (B)
124
124
@assert a isa AbstractQuasiVector # Only works for vec .* mat
125
- ab = expand (a ) .* b # broadcasted should be overloaded
125
+ ab = (A * (A \ a) ) .* b # broadcasted should be overloaded
126
126
MemoryLayout (ab) isa BroadcastLayout && return transform_ldiv (A, ab)
127
127
A \ ab
128
128
end
@@ -158,7 +158,7 @@ copy(L::Ldiv{<:MappedBasisLayouts,BroadcastLayout{typeof(*)}}) = _broadcast_mul_
158
158
a,b = arguments (B)
159
159
@assert a isa AbstractQuasiVector # Only works for vec .* mat
160
160
A = Ac'
161
- ab = expand (a ) .* b # broadcasted should be overloaded
161
+ ab = (A * (A \ a) ) .* b # broadcasted should be overloaded
162
162
MemoryLayout (ab) isa BroadcastLayout && return Ac* transform_ldiv (A, ab)
163
163
Ac* ab
164
164
end
You can’t perform that action at this time.
0 commit comments