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 16f14d1 commit 6db70cbCopy full SHA for 6db70cb
test/ChebyshevTest.jl
@@ -52,8 +52,8 @@ import ApproxFunOrthogonalPolynomials: forwardrecurrence
52
53
cf = Fun(cos)
54
55
- ecf = @inferred Fun(x->cos(x).*exp(x))
56
- eocf = @inferred Fun(x->cos(x)./exp(x))
+ ecf = VERSION >= v"1.8" ? @inferred(Fun(x->cos(x)*exp(x))) : Fun(x->cos(x)*exp(x))
+ eocf = VERSION >= v"1.8" ? @inferred(Fun(x->cos(x)/exp(x))) : Fun(x->cos(x)/exp(x))
57
58
@test ef(.5) ≈ exp(.5)
59
@test ecf(.123456) ≈ cos(.123456).*exp(.123456)
0 commit comments