Skip to content

Commit

Permalink
up the compat
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Jan 14, 2024
1 parent 0a1f5fc commit a0cf827
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ PrecompileTools = "1"
Printf = "1.9"
RecursiveArrayTools = "2, 3"
Reexport = "1.0"
SciMLBase = "2.18.0"
SciMLBase = "2.19.0"
SciMLOperators = "0.2, 0.3"
Setfield = "0.8, 1"
SparseArrays = "1.9"
Expand Down
8 changes: 4 additions & 4 deletions src/termination_conditions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ for the last `patience_steps` + terminate if the solution blows up (diverges).
```julia
RelSafeTerminationMode(; protective_threshold = nothing, patience_steps = 100,
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = 20)
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = nothing)
```
"""
Base.@kwdef struct RelSafeTerminationMode{T1, T2, T3, T4 <: Union{Nothing, Int}} <:
Expand All @@ -141,7 +141,7 @@ for the last `patience_steps` + terminate if the solution blows up (diverges).
```julia
AbsSafeTerminationMode(; protective_threshold = nothing, patience_steps = 100,
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = 20)
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = nothing)
```
"""
Base.@kwdef struct AbsSafeTerminationMode{T1, T2, T3, T4 <: Union{Nothing, Int}} <:
Expand All @@ -162,7 +162,7 @@ Essentially [`RelSafeTerminationMode`](@ref), but caches the best solution found
```julia
RelSafeBestTerminationMode(; protective_threshold = nothing, patience_steps = 100,
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = 20)
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = nothing)
```
"""
Base.@kwdef struct RelSafeBestTerminationMode{T1, T2, T3, T4 <: Union{Nothing, Int}} <:
Expand All @@ -183,7 +183,7 @@ Essentially [`AbsSafeTerminationMode`](@ref), but caches the best solution found
```julia
AbsSafeBestTerminationMode(; protective_threshold = nothing, patience_steps = 100,
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = 20)
patience_objective_multiplier = 3, min_max_factor = 1.3, max_stalled_steps = nothing)
```
"""
Base.@kwdef struct AbsSafeBestTerminationMode{T1, T2, T3, T4 <: Union{Nothing, Int}} <:
Expand Down

0 comments on commit a0cf827

Please sign in to comment.