Skip to content

Commit a21c3e7

Browse files
authored
Merge pull request #2888 from JuliaReach/schillic-patch-1
New version of IntervalMatrices
2 parents a0f3882 + 46705a2 commit a21c3e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ GLPKMathProgInterface = "0.4, 0.5"
3030
GR = "0"
3131
IntervalArithmetic = "0.15, 0.16, 0.17, 0.18, 0.19"
3232
IntervalConstraintProgramming = "0.9, 0.10, 0.11, 0.12"
33-
IntervalMatrices = "0.2, 0.3, 0.4, 0.5, 0.6"
33+
IntervalMatrices = "0.8"
3434
Javis = "0.5"
3535
JuMP = "0.21"
3636
Makie = "0.9, 0.10, 0.11, 0.12"

src/Approximations/overapproximate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ end # load_taylormodels_overapproximation
10501050
function load_intervalmatrices_overapproximation()
10511051
return quote
10521052

1053-
using .IntervalMatrices: AbstractIntervalMatrix, split
1053+
using .IntervalMatrices: AbstractIntervalMatrix, midpoint_radius
10541054

10551055
# temporary patch for IntervalArithmetic#317
10561056
function convert(::Type{IntervalMatrices.Interval{T}},
@@ -1096,7 +1096,7 @@ uncertain parameters and inputs. CDC 2007.
10961096
function overapproximate(lm::LinearMap{N, <:AbstractZonotope, NM,
10971097
<:AbstractIntervalMatrix{NM}},
10981098
::Type{<:Zonotope}) where {N, NM}
1099-
Mc, Ms = split(lm.M)
1099+
Mc, Ms = midpoint_radius(lm.M)
11001100
Z = lm.X
11011101
c = Mc * center(Z)
11021102
n = dim(lm)

0 commit comments

Comments
 (0)