Skip to content

Commit 0a34a80

Browse files
committed
Fix a..b \ [c,d]
1 parent 1f3c954 commit 0a34a80

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Domains/Domains.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::UnionDomain{AS}
1515

1616
Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::WrappedDomain{<:AbstractVector}) =
1717
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)]

0 commit comments

Comments
 (0)