Skip to content

Commit cecf2e3

Browse files
committed
increase coverage
1 parent 5d927a6 commit cecf2e3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bases/bases.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function demap(V::SubQuasiArray{<:Any,2})
362362
kr, jr = parentindices(V)
363363
demap(parent(V)[kr,:])[:,jr]
364364
end
365-
function demap(wB::ApplyQuasiArray{<:Any,typeof(*)})
365+
function demap(wB::ApplyQuasiArray{<:Any,N,typeof(*)}) where N
366366
a = arguments(wB)
367367
*(demap(first(a)), tail(a)...)
368368
end

test/runtests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,10 @@ end
440440

441441
@test L[y,:] \ (y .* exp.(y)) L[y,:] \ BroadcastQuasiVector(y -> y*exp(y), y)
442442
@test L[y,:] \ (y .* L[y,1:3]) [L[y,:]\(y .* L[y,1]) L[y,:]\(y .* L[y,2]) L[y,:]\(y .* L[y,3])]
443+
444+
c = randn(size(L,2))
445+
@test L[y,:] \ (L[y,:] * c) c
446+
@test ContinuumArrays.demap(L[y,:] * c) == L*c
443447
end
444448
end
445449

0 commit comments

Comments
 (0)