Skip to content

Commit 395a907

Browse files
authored
Merge pull request #1 from JuliaApproximation/dl/domainsets002
Dl/domainsets002
2 parents bcebb0e + e04e92f commit 395a907

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

Project.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunOrthogonalPolynomials"
22
uuid = "b70543e2-c0d9-56b8-a290-0d4d6d4de211"
3-
version = "0.0.3"
3+
version = "0.1"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
@@ -30,22 +30,22 @@ ToeplitzMatrices = "c751599d-da0a-543b-9d20-d0a503d91d24"
3030

3131
[compat]
3232
AbstractFFTs = "≥ 0.3.1"
33-
ApproxFunBase = "0.0.4"
33+
ApproxFunBase = "0.1"
3434
BandedMatrices = "0.9.0"
3535
BlockArrays = "0.8.0"
3636
BlockBandedMatrices = "0.4.0"
3737
Calculus = "≥ 0.1.15"
3838
DSP = "≥ 0.5.1"
39-
DomainSets = "0.0.1"
39+
DomainSets = "0.0.2"
4040
DualNumbers = "≥ 0.4.0"
4141
FFTW = "≥ 0.2.4"
4242
FastGaussQuadrature = "≥ 0.3.2"
4343
FastTransforms = "≥ 0.4.2"
4444
FillArrays = "≥ 0.5.0"
45-
InfiniteArrays = "0.0.3"
45+
InfiniteArrays = "0.1"
4646
IntervalSets = "≥ 0.3.1"
4747
LazyArrays = "0.8"
48-
LowRankApprox = "≥ 0.1.4"
48+
LowRankApprox = "≥ 0.2"
4949
Reexport = "≥ 0.2.0"
5050
SpecialFunctions = "≥ 0.7.0"
5151
StaticArrays = "≥ 0.8.3"

src/ApproxFunOrthogonalPolynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import ApproxFunBase: normalize!, flipsign, FiniteRange, Fun, MatrixFun, UnsetSp
4747

4848
import DomainSets: Domain, indomain, UnionDomain, ProductDomain, FullSpace, Point, elements, DifferenceDomain,
4949
Interval, ChebyshevInterval, boundary, ∂, rightendpoint, leftendpoint,
50-
dimension
50+
dimension, WrappedDomain
5151

5252
import BandedMatrices: bandrange, bandshift,
5353
inbands_getindex, inbands_setindex!, bandwidth, AbstractBandedMatrix,

src/Domains/Domains.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ isless(d2::Ray{true,T2},d1::IntervalOrSegment{T1}) where {T1<:Real,T2<:Real} = d
1313
Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::UnionDomain{AS}) where {AS <: AbstractVector{P}} where {P <: Point} =
1414
affine_setdiff(d, ptsin)
1515

16+
Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::WrappedDomain{<:AbstractVector}) =
17+
affine_setdiff(d, ptsin)
18+
19+
Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::AbstractVector{<:Number}) =
20+
ApproxFunBase._affine_setdiff(d, ptsin)

test/ODETest.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, LazyArrays, Test
2-
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞
2+
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞
33

44
@testset "ODE" begin
55
@testset "Airy" begin
@@ -120,7 +120,7 @@ using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, LazyArray
120120
end
121121

122122
@testset "Union of intervals" begin
123-
x=Fun(identity,Domain(-2..15) \ [-1,0])
123+
x=Fun(identity,(-2..15) \ [-1,0])
124124
sp=space(x)
125125

126126
B = [Dirichlet(sp);continuity(sp,0:1)]

test/SpeedODETest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ println("Complex exp: Time should be 0.03")
7878

7979

8080
## Piecewise
81-
x=Fun(identity,Domain(-20..15) \ Set([-10.,-5.,0.,1.]))
81+
x=Fun(identity,Domain(-20..15) \ [-10.,-5.,0.,1.])
8282
sp=space(x)
8383
D=Derivative(sp)
8484
B=[Dirichlet(sp);continuity(sp,0:1)]

0 commit comments

Comments
 (0)