Skip to content

Commit

Permalink
Bump IA to v0.22 and fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbenet committed Dec 13, 2023
1 parent d03d017 commit 6a3be15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,22 @@ Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[weakdeps]
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"

[extensions]
TaylorSeriesIAExt = "IntervalArithmetic"

[compat]
Aqua = "0.8"
IntervalArithmetic = "0.15, 0.16, 0.17, 0.18, 0.19, 0.20"
IntervalArithmetic = "0.22"
LinearAlgebra = "<0.0.1, 1"
Markdown = "<0.0.1, 1"
Requires = "0.5.2, 1"
SparseArrays = "<0.0.1, 1"
Test = "<0.0.1, 1"
julia = "1"

[extensions]
TaylorSeriesIAExt = "IntervalArithmetic"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
Expand All @@ -31,6 +34,3 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["IntervalArithmetic", "LinearAlgebra", "SparseArrays", "Test", "Aqua"]

[weakdeps]
IntervalArithmetic = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
2 changes: 1 addition & 1 deletion test/intervals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ eeuler = Base.MathConstants.e
@test isequal_interval(evaluate(p4(x,y), [a, -b]), p4(a, -b))
@test isequal_interval((p5(x,y))([a, b]), p5(a, b))
@test issubset_interval((a-b)^4, ((x-y)^4)([a, b]))
@test isequal_interval((((x-y)^4)[4])([a, b]), interval(-39, 81))
@test isequal_interval((((x-y)^4)[4])([a, b]), interval(-64, 81))

p4n = normalize_taylor(p4(x,y), [a, b], true)
@test issubset_interval(interval(0, 16), p4n([b, b]))
Expand Down

0 comments on commit 6a3be15

Please sign in to comment.