Skip to content

Commit

Permalink
check for divergence only after first newton step
Browse files Browse the repository at this point in the history
bump patch version
  • Loading branch information
j-fu committed Feb 15, 2021
1 parent bf00ab0 commit 028a3b7
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 = "VoronoiFVM"
uuid = "82b139dc-5afc-11e9-35da-9b9bdfd336f3"
authors = ["Juergen Fuhrmann <[email protected]>"]
version = "0.10.3"
version = "0.10.4"

[deps]
DiffResults = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
Expand Down
2 changes: 1 addition & 1 deletion src/vfvm_solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function _solve!(
@printf(" %s du=%.3e cont=%.3e\n",itstring,norm, norm/oldnorm)
end
end
if norm/oldnorm > 1.0/control.tol_mono
if ii>1 && norm/oldnorm > 1.0/control.tol_mono
converged=false
break
end
Expand Down

2 comments on commit 028a3b7

@j-fu
Copy link
Member Author

@j-fu j-fu commented on 028a3b7 Feb 15, 2021

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/30108

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 v0.10.4 -m "<description of version>" 028a3b7ff14b37f02fbfd076475cd639a6519eaf
git push origin v0.10.4

Please sign in to comment.