Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 17, 2023
1 parent 8c0db9e commit ccdd2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DiffEqBase"
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
authors = ["Chris Rackauckas <[email protected]>"]
version = "6.140.0"
version = "6.140.1"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
2 changes: 1 addition & 1 deletion src/termination_conditions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function (cache::NonlinearTerminationModeCache)(mode::AbstractSafeNonlinearTermi

# Protective Break
if isinf(objective) || isnan(objective) ||
(objective cache.initial_objective * cache.mode.protective_threshold * length(du))
(objective > cache.initial_objective * cache.mode.protective_threshold * length(du))
cache.retcode = NonlinearSafeTerminationReturnCode.ProtectiveTermination
return true
end
Expand Down

0 comments on commit ccdd2f8

Please sign in to comment.