Skip to content

Commit 9213fe2

Browse files
committed
fix test
1 parent fbaec85 commit 9213fe2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/bases/bases.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ end
6060
@inline copy(L::Ldiv{<:AbstractBasisLayout,BroadcastLayout{typeof(+)},<:Any,<:AbstractQuasiVector}) =
6161
transform_ldiv(L.A, L.B)
6262
for op in (:+, :-)
63-
@eval @inline copy(L::Ldiv{Lay,BroadcastLayout{typeof(+)},<:Any,<:AbstractQuasiVector}) where Lay<:MappedBasisLayouts =
63+
@eval @inline copy(L::Ldiv{Lay,BroadcastLayout{typeof($op)},<:Any,<:AbstractQuasiVector}) where Lay<:MappedBasisLayouts =
6464
copy(Ldiv{Lay,LazyLayout}(L.A,L.B))
6565
end
6666

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ end
450450

451451
@testset "Mapped and BroadcastLayout{typeof(+)}" begin
452452
@test L[y,:] \ (y .+ y) L[y,:] \ (2y)
453+
@test L[y,:] \ (y .- y) zeros(10)
453454
end
454455
end
455456

0 commit comments

Comments
 (0)