Skip to content

Commit a94565e

Browse files
authored
Test for inference in block for sumspace (#179)
1 parent 08c42e2 commit a94565e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2020
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2121

2222
[compat]
23-
ApproxFunBase = "0.7.59"
23+
ApproxFunBase = "0.7.64"
2424
ApproxFunBaseTest = "0.1"
2525
Aqua = "0.5"
2626
BandedMatrices = "0.16, 0.17"

test/ChebyshevTest.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,4 +423,10 @@ using ApproxFunOrthogonalPolynomials: forwardrecurrence
423423
end
424424
end
425425
end
426+
427+
@testset "inference in SumSpace" begin
428+
s = Chebyshev() + Chebyshev(0..1)
429+
blk = @inferred ApproxFunBase.block(s, 2)
430+
@test Int(blk) == 1
431+
end
426432
end

0 commit comments

Comments
 (0)