Skip to content

Commit 5fc9790

Browse files
Update DomainSets requirement from 0.5, 0.6, 0.7 to 0.5, 0.6, 0.7, 0.8 (#378)
* Update DomainSets requirement from 0.5, 0.6, 0.7 to 0.5, 0.6, 0.7, 0.8 Updates the requirements on [DomainSets](https://github.com/JuliaApproximation/DomainSets.jl) to permit the latest version. - [Release notes](https://github.com/JuliaApproximation/DomainSets.jl/releases) - [Commits](https://github.com/JuliaApproximation/DomainSets.jl/commits/v0.8.0) --- updated-dependencies: - dependency-name: DomainSets dependency-version: 0.8.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump minimum ApproxFunBase version * Update for cross deprectaion * Set minimum ApproxFunBase version to 0.9.35 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jishnu Bhattacharya <jishnub.github@gmail.com>
1 parent 04ab7e3 commit 5fc9790

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

Project.toml

Lines changed: 3 additions & 3 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.6.63"
3+
version = "0.6.64"
44

55
[deps]
66
ApproxFunBase = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
@@ -30,12 +30,12 @@ ApproxFunOrthogonalPolynomialsPolynomialsExt = "Polynomials"
3030
ApproxFunOrthogonalPolynomialsStaticExt = "Static"
3131

3232
[compat]
33-
ApproxFunBase = "0.8.67, 0.9.28"
33+
ApproxFunBase = "0.9.35"
3434
Aqua = "0.8"
3535
BandedMatrices = "0.16, 0.17, 1"
3636
BlockArrays = "0.14, 0.15, 0.16, 1"
3737
BlockBandedMatrices = "0.10, 0.11, 0.12, 0.13"
38-
DomainSets = "0.5, 0.6, 0.7"
38+
DomainSets = "0.5, 0.6, 0.7, 0.8"
3939
DualNumbers = "0.6.2"
4040
FastGaussQuadrature = "0.4, 0.5, 1"
4141
FastTransforms = "0.12, 0.13, 0.14, 0.15.1, 0.16, 0.17"

test/MultivariateTest.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using LinearAlgebra
77
using SpecialFunctions
88
using BlockBandedMatrices
99
using Test
10-
using ApproxFunBase: factor, Block, cfstype, blocklengths, block, tensorizer, ArraySpace, ∞
10+
using ApproxFunBase: factor, Block, cfstype, blocklengths, block, tensorizer, ArraySpace, ∞, cartesianproduct
1111
using ApproxFunBase.TestUtils: testbandedblockbandedoperator, testraggedbelowoperator,
1212
testblockbandedoperator
1313
using ApproxFunOrthogonalPolynomials: chebyshevtransform
@@ -339,7 +339,7 @@ include("testutils.jl")
339339

340340
@testset "conversion between" begin
341341
dx = dy = ChebyshevInterval()
342-
d = dx × dy
342+
d = cartesianproduct(dx, dy)
343343
x,y=Fun(d)
344344
@test x(0.1,0.2) 0.1
345345
@test y(0.1,0.2) 0.2
@@ -421,7 +421,7 @@ include("testutils.jl")
421421

422422
@testset "Dirichlet" begin
423423
testblockbandedoperator(@inferred Dirichlet((0..1)^2))
424-
testblockbandedoperator(@inferred Dirichlet((0..1) × (0.0 .. 1)))
424+
testblockbandedoperator(@inferred Dirichlet(cartesianproduct(0..1, 0.0 .. 1)))
425425
testraggedbelowoperator(Dirichlet(Chebyshev()^2))
426426
testraggedbelowoperator(Dirichlet(Chebyshev(0..1) * Chebyshev(0.0..1)))
427427
end
@@ -576,13 +576,13 @@ include("testutils.jl")
576576
@testset "inference in TensorSpace" begin
577577
s = @inferred TensorSpace((Chebyshev(0..1), Chebyshev(0.0..2.0)))
578578
d = @inferred domain(s)
579-
@test d == (0..1) × (0.0..2.0)
579+
@test d == cartesianproduct(0..1, 0.0..2.0)
580580
f = Fun((x,y)->x^2*y^3, s)
581581
@test f(0.1, 0.2) 0.1^2 * 0.2^3
582582

583583
s2 = TensorSpace((Chebyshev(0..1), Chebyshev(0.0..2.0), Chebyshev(0..2)))
584584
d2 = @inferred domain(s2)
585-
@test d2 == (0..1) × (0.0..2.0) × (0..2)
585+
@test d2 == cartesianproduct(0..1, 0.0..2.0, 0..2)
586586
end
587587
end
588588

test/PDETest.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ using ApproxFunOrthogonalPolynomials
55
using DomainSets: setdiffdomain
66
using LinearAlgebra
77
using Test
8-
using ApproxFunBase: Block, ldiv_coefficients
8+
using ApproxFunBase: Block, ldiv_coefficients, cartesianproduct
99
using ApproxFunBase.TestUtils: testbandedblockbandedoperator, testblockbandedoperator, testraggedbelowoperator
1010

1111
include("testutils.jl")
1212

1313
@verbose @testset "PDE" begin
1414
@testset "Rectangle Laplace/Poisson" begin
1515
dx = dy = ChebyshevInterval()
16-
d = dx × dy
16+
d = cartesianproduct(dx, dy)
1717
g = Fun((x,y)->exp(x)*cos(y),(d))
1818

1919
B = Dirichlet(d)
@@ -42,7 +42,7 @@ include("testutils.jl")
4242

4343
@testset "Bilaplacian" begin
4444
dx = dy = ChebyshevInterval()
45-
d = dx × dy
45+
d = cartesianproduct(dx, dy)
4646
Dx = Derivative(dx); Dy = Derivative(dy)
4747
L = Dx^4I + 2*Dx^2Dy^2 + IDy^4
4848

@@ -69,7 +69,7 @@ include("testutils.jl")
6969
testbandedblockbandedoperator(C)
7070
testbandedblockbandedoperator(Operator{ComplexF64}(C))
7171

72-
d = dx × dt
72+
d = cartesianproduct(dx, dt)
7373

7474
x,y = Fun(d)
7575
@test x(0.1,0.0001) 0.1
@@ -97,7 +97,7 @@ include("testutils.jl")
9797

9898
@testset "Transport" begin
9999
dx=ChebyshevInterval(); dt=Interval(0,2.)
100-
d=dx × dt
100+
d = cartesianproduct(dx, dt)
101101
Dx=Derivative(d,[1,0]);Dt=Derivative(d,[0,1])
102102
x,y=Fun(identity,d)
103103
@time u=\([Ildirichlet(dt);Dt+x*Dx],[Fun(x->exp(-20x^2),dx);0.];tolerance=1E-12)
@@ -107,7 +107,7 @@ include("testutils.jl")
107107

108108
@testset "Bilaplacian" begin
109109
dx=dy=ChebyshevInterval()
110-
d=dx × dy
110+
d = cartesianproduct(dx, dy)
111111
Dx=Derivative(dx);Dy=Derivative(dy)
112112
L=Dx^4I+2*Dx^2Dy^2+IDy^4
113113

@@ -146,7 +146,7 @@ include("testutils.jl")
146146
@test u(0.1,0.2) exp(0.1)*cos(0.2)
147147

148148
dx=dy=ChebyshevInterval()
149-
d=dx×dy
149+
d = cartesianproduct(dx, dy)
150150
Dx=Derivative(dx);Dy=Derivative(dy)
151151
L=Dx^4I+2*Dx^2Dy^2+IDy^4
152152

@@ -256,9 +256,9 @@ include("testutils.jl")
256256

257257
@testset "Small diffusion" begin
258258
dx=ChebyshevInterval();dt=Interval(0,0.2)
259-
d=dx×dt
259+
d = cartesianproduct(dx, dt)
260260
Dx=Derivative(d,[1,0]);Dt=Derivative(d,[0,1])
261-
x,t=Fun(dx×dt)
261+
x,t=Fun(cartesianproduct(dx, dt))
262262

263263
B=0.0
264264
C=0.0

0 commit comments

Comments
 (0)