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 509d9c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[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"
Expand Down
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 509d9c5

Please sign in to comment.