Skip to content

Commit

Permalink
Decrease default tolerance for SFCCNewtonSolver
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroenks96 committed Jun 11, 2023
1 parent 1f5326a commit 50974fd
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 = "FreezeCurves"
uuid = "71e4ad71-e4f2-45a3-aa0a-91ffaa9676be"
authors = ["Brian Groenke <[email protected]> and contributors"]
version = "0.8.1"
version = "0.8.2"

[deps]
Flatten = "4c728ea3-d9ee-5c9a-9642-b6f7d7dc04fa"
Expand Down
2 changes: 1 addition & 1 deletion src/sfccsolvers/newton.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ discontinuities and strong non-linearity in most common soil freeze curves.
"""
Base.@kwdef struct SFCCNewtonSolver <: SFCCSolver
maxiter::Int = 100 # maximum number of iterations
abstol::Float64 = 1e-2 # absolute tolerance for convergence
abstol::Float64 = 1e-3 # absolute tolerance for convergence
reltol::Float64 = 1e-4 # relative tolerance for convergence
α₀::Float64 = 1.0 # initial step size multiplier
τ::Float64 = 0.7 # step size decay for backtracking
Expand Down

2 comments on commit 50974fd

@bgroenks96
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/85318

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.8.2 -m "<description of version>" 50974fde2f6bf3c74514a4f7a62e1bc12a252a77
git push origin v0.8.2

Please sign in to comment.