Skip to content

Commit

Permalink
Update reach.jl (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
mforets authored Jan 17, 2020
1 parent 34ad864 commit e0e9909
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ReachSets/ContinuousPost/BFFPSV18/reach.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ function reach(problem::Union{IVP{<:CLDS{NUM}, <:LazySet{NUM}},

# shortcut if only the initial set is required
if N == 1
res[1] = res_type(
CartesianProductArray{NUM, LazySet{NUM}}(Xhat0[blocks]),
zero(NUM), options[])
res[1] = SparseReachSet(CartesianProductArray(Xhat0[blocks]), zero(NUM), options[], dimensions)
return Flowpipe(res)
end
push!(args, Xhat0)
Expand Down

0 comments on commit e0e9909

Please sign in to comment.