Skip to content

Commit

Permalink
Merge pull request #532 from JuliaReach/mforets-patch-1
Browse files Browse the repository at this point in the history
Call modifying init! in solve!
  • Loading branch information
mforets authored Mar 10, 2019
2 parents 1b41551 + b4bce55 commit 36fa9f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ReachSets/ReachSets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ include("DiscretePost/DiscretePost.jl")
export PostOperator,
ContinuousPost,
DiscretePost,
init,
init, init!,
post,
tube⋂inv!

Expand Down
4 changes: 2 additions & 2 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function solve!(system::InitialValueProblem{<:Union{AbstractContinuousSystem,
invariant::Union{LazySet, Nothing}=nothing
)::AbstractSolution
system = normalize(system)
options = init(op, system, options_input)
options = init!(op, system, options_input)

# coordinate transformation
if options[:coordinate_transformation] != ""
Expand Down Expand Up @@ -115,7 +115,7 @@ function solve!(system::InitialValueProblem{<:HybridSystem,

HS = system.s
init_sets = system.x0
options = init(opD, HS, options_input)
options = init!(opD, HS, options_input)
time_horizon = options[:T]
max_jumps = options[:max_jumps]
inout_map = nothing
Expand Down

0 comments on commit 36fa9f4

Please sign in to comment.