File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ ApproxFunOrthogonalPolynomialsPolynomialsExt = "Polynomials"
30
30
ApproxFunOrthogonalPolynomialsStaticExt = " Static"
31
31
32
32
[compat ]
33
- ApproxFunBase = " 0.8.60 , 0.9.16 "
33
+ ApproxFunBase = " 0.8.63 , 0.9.21 "
34
34
ApproxFunBaseTest = " 0.1"
35
35
Aqua = " 0.8"
36
36
BandedMatrices = " 0.16, 0.17, 1"
Original file line number Diff line number Diff line change @@ -126,25 +126,6 @@ include("testutils.jl")
126
126
end
127
127
end
128
128
129
- @testset " other domains" begin
130
- ef = Fun (exp,1 .. 2 )
131
- cf = Fun (cos,1 .. 2 )
132
-
133
- ecf = Fun (x-> cos (x).* exp (x),1 .. 2 )
134
- eocf = Fun (x-> cos (x)./ exp (x),1 .. 2 )
135
-
136
- x= 1.5
137
- @test ef (x) ≈ exp (x)
138
-
139
- r= rand (100 ) .+ 1
140
- @test maximum (abs,ef .(r)- exp .(r))< 400 eps ()
141
- @test maximum (abs,ecf .(r).- cos .(r).* exp .(r))< 100 eps ()
142
-
143
- @testset " setdomain" begin
144
- @test setdomain (NormalizedChebyshev (0 .. 1 ), 1 .. 2 ) == NormalizedChebyshev (1 .. 2 )
145
- end
146
- end
147
-
148
129
@testset " Other interval" begin
149
130
ef = Fun (exp,1 .. 2 )
150
131
cf = Fun (cos,1 .. 2 )
@@ -170,6 +151,13 @@ include("testutils.jl")
170
151
171
152
@test sum (ef) ≈ 4.670774270471604
172
153
@test norm (ef) ≈ 4.858451087240335
154
+
155
+ @testset " setdomain" begin
156
+ @test setdomain (NormalizedChebyshev (0 .. 1 ), 1 .. 2 ) == NormalizedChebyshev (1 .. 2 )
157
+ end
158
+
159
+ fexp = @inferred Fun (exp, Chebyshev (big (- 1.0 ) .. big (1.0 )))
160
+ @test fexp (0.5 ) ≈ exp (big (0.5 ))
173
161
end
174
162
175
163
@testset " Roots" begin
You can’t perform that action at this time.
0 commit comments