Skip to content

Commit

Permalink
Merge pull request #1964 from chriselrod/breakcomposite
Browse files Browse the repository at this point in the history
Fix composite solve error check
  • Loading branch information
YingboMa authored Jun 12, 2023
2 parents 5de51dd + c28f292 commit 938edf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OrdinaryDiffEq"
uuid = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>", "Yingbo Ma <mayingbo5@gmail.com>"]
version = "6.53.0"
version = "6.53.1"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
5 changes: 3 additions & 2 deletions src/composite_algs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ function is_stiff(integrator, alg, ntol, stol, is_stiffalg)
integrator.alg.choice_function.successive_switches = 0
end

integrator.do_error_check = integrator.alg.choice_function.successive_switches >
integrator.alg.choice_function.switch_max || !bool
integrator.do_error_check = (integrator.alg.choice_function.successive_switches >
integrator.alg.choice_function.switch_max || !bool) ||
is_stiffalg
bool
end

Expand Down

2 comments on commit 938edf6

@YingboMa
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/85394

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v6.53.1 -m "<description of version>" 938edf6439ae5ca9337696c01eaf0d42cf1822fb
git push origin v6.53.1

Please sign in to comment.