Skip to content

Commit

Permalink
Merge pull request #534 from JuliaReach/schillic/490
Browse files Browse the repository at this point in the history
#490 - Decomposition of one-block partitions
  • Loading branch information
schillic authored Mar 10, 2019
2 parents 36fa9f4 + f970c28 commit b81c820
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/ReachSets/ContinuousPost/BFFPSV18/check_property.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ function check_property(S::IVP{<:AbstractDiscreteSystem},
N = ceil(Int, options[:T] / options[])

# Cartesian decomposition of the initial set
if length(partition) == 1 && length(partition[1]) == n
info("- No decomposition of X0 needed")
if length(partition) == 1 && length(partition[1]) == n &&
options[:block_options_init] == LinearMap
info("- Skipping decomposition of X0")
Xhat0 = [S.x0]
else
info("- Decomposing X0")
Expand Down
5 changes: 3 additions & 2 deletions src/ReachSets/ContinuousPost/BFFPSV18/reach.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ function reach(S::Union{IVP{<:LDS{NUM}, <:LazySet{NUM}},
N = ceil(Int, options[:T] / options[])

# Cartesian decomposition of the initial set
if length(partition) == 1 && length(partition[1]) == n
info("- No decomposition of X0 needed")
if length(partition) == 1 && length(partition[1]) == n &&
options[:block_options_init] == LinearMap
info("- Skipping decomposition of X0")
Xhat0 = LazySet{NUM}[S.x0]
else
info("- Decomposing X0")
Expand Down

0 comments on commit b81c820

Please sign in to comment.