Skip to content

Commit

Permalink
Merge pull request #659 from JuliaReach/schillic/bump
Browse files Browse the repository at this point in the history
Support new version of MathematicalSystems
  • Loading branch information
mforets authored Jul 29, 2022
2 parents 9d22da3 + 3dbd3a7 commit 853975f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ReachabilityAnalysis"
uuid = "1e97bd63-91d1-579d-8e8d-501d2b57c93f"
version = "0.19.0"
version = "0.20.0"

[deps]
CarlemanLinearization = "4803f6b2-022a-4c1b-a771-522a3413ec86"
Expand Down Expand Up @@ -39,7 +39,7 @@ IntervalArithmetic = "0.16 - 0.20"
IntervalMatrices = "0.6 - 0.8"
JuMP = "0.21 - 0.23, 1"
LazySets = "1.58"
MathematicalSystems = "0.11"
MathematicalSystems = "0.11, 0.12"
MultivariatePolynomials = "0.3 - 0.4"
Optim = "0.18 - 0.20, 1"
Parameters = "0.10 - 0.12"
Expand Down
8 changes: 4 additions & 4 deletions src/Continuous/normalization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ for CLC_S in (:CLCCS, :CLCDS)
n = statedim(system)
X = _wrap_invariant(stateset(system), n)
U = _wrap_inputs(inputset(system), input_matrix(system))
$CLC_S(state_matrix(system), I(n, N), X, U)
$CLC_S(state_matrix(system), Id(n, one(N)), X, U)
end
end
end
Expand All @@ -356,7 +356,7 @@ for (CA_S, CLC_S) in ((:CACS, :CLCCS), (:CADS, :CLCDS))
n = statedim(system)
X = _wrap_invariant(stateset(system), n)
U = _wrap_inputs(affine_term(system))
$CLC_S(state_matrix(system), I(n, N), X, U)
$CLC_S(state_matrix(system), Id(n, one(N)), X, U)
end
end
end
Expand All @@ -369,7 +369,7 @@ for (A_S, CLC_S) in ((:ACS, :CLCCS), (:ADS, :CLCDS))
n = statedim(system)
X = Universe(n)
U = _wrap_inputs(affine_term(system))
$CLC_S(state_matrix(system), I(n, N), X, U)
$CLC_S(state_matrix(system), Id(n, one(N)), X, U)
end
end
end
Expand All @@ -382,7 +382,7 @@ for (CAC_S, CLC_S) in ((:CACCS, :CLCCS), (:CACDS, :CLCDS))
n = statedim(system)
X = _wrap_invariant(stateset(system), n)
U = _wrap_inputs(inputset(system), input_matrix(system), affine_term(system))
$CLC_S(state_matrix(system), I(n, N), X, U)
$CLC_S(state_matrix(system), Id(n, one(N)), X, U)
end
end
end
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ using Test, ReachabilityAnalysis
using ReachabilityAnalysis: _isapprox, setrep, rsetrep,
DeterministicSwitching, NonDeterministicSwitching,
BoxEnclosure, ZonotopeEnclosure
using LinearAlgebra

# optional dependencies
using Symbolics
Expand Down

0 comments on commit 853975f

Please sign in to comment.