We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d73b9 commit 068510fCopy full SHA for 068510f
test/ChebyshevTest.jl
@@ -42,15 +42,15 @@ import ApproxFunOrthogonalPolynomials: forwardrecurrence
42
@testset "Algebra" begin
43
ef = @inferred Fun(exp,ChebyshevInterval())
44
@test ef == @inferred -(-ef)
45
- @test ef == (ef-1) + 1
+ @test ef == @inferred (@inferred ef-1) + 1
46
47
if VERSION >= v"1.8"
48
@test (@inferred ef / 3) == @inferred (3 \ ef)
49
else
50
@test ef / 3 == 3 \ ef
51
end
52
53
- cf = Fun(cos)
+ cf = VERSION >= v"1.8" ? @inferred(Fun(cos)) : Fun(cos)
54
55
ecf = VERSION >= v"1.8" ? @inferred(Fun(x->cos(x)*exp(x))) : Fun(x->cos(x)*exp(x))
56
eocf = VERSION >= v"1.8" ? @inferred(Fun(x->cos(x)/exp(x))) : Fun(x->cos(x)/exp(x))
0 commit comments