Skip to content

Commit

Permalink
remove rational compuation (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
jverzani committed Sep 28, 2021
1 parent ae1be29 commit 4de9e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find_zeros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function find_zeros(f, a, b=nothing; no_pts=12, k=8, naive=false, kwargs...)
fa0, fb0 = f(a0), f(b0)
d = Dict(kwargs)
T, S = eltype(a0), eltype(fa0)
xatol::T = get(d, :xatol, eps(one(T))^(4 // 5) * oneunit(T))
xatol::T = get(d, :xatol, eps(one(T))^(4 / 5) * oneunit(T))
xrtol = get(d, :xrtol, eps(one(T)) * one(T))
atol::S = get(d, :atol, eps(float(S)) * oneunit(S))
rtol = get(d, :rtol, eps(float(S)) * one(S))
Expand Down

2 comments on commit 4de9e52

@jverzani
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/45689

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 v1.3.5 -m "<description of version>" 4de9e5275693ad61f7fbc179a930bd22da5c6fc6
git push origin v1.3.5

Please sign in to comment.