Skip to content

Commit

Permalink
Merge pull request #88 from JuliaReach/schillic/format
Browse files Browse the repository at this point in the history
Format code
  • Loading branch information
schillic authored Jan 4, 2025
2 parents f331f88 + 4815c28 commit 67ba5e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Comparison/tolerance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,17 @@ _atol(N::Type{<:Number})::N = get!(TOL_N, N, default_tolerance(N)).atol
function set_rtol(N::Type{NT}, ε::NT) where {NT<:Number}
tol = get!(TOL_N, N, default_tolerance(N))
tol.rtol = ε
return ε
end

function set_ztol(N::Type{NT}, ε::NT) where {NT<:Number}
tol = get!(TOL_N, N, default_tolerance(N))
tol.ztol = ε
return ε
end

function set_atol(N::Type{NT}, ε::NT) where {NT<:Number}
tol = get!(TOL_N, N, default_tolerance(N))
tol.atol = ε
return ε
end

0 comments on commit 67ba5e4

Please sign in to comment.