Skip to content

Commit 67ba5e4

Browse files
authored
Merge pull request #88 from JuliaReach/schillic/format
Format code
2 parents f331f88 + 4815c28 commit 67ba5e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Comparison/tolerance.jl

+3
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,17 @@ _atol(N::Type{<:Number})::N = get!(TOL_N, N, default_tolerance(N)).atol
9090
function set_rtol(N::Type{NT}, ε::NT) where {NT<:Number}
9191
tol = get!(TOL_N, N, default_tolerance(N))
9292
tol.rtol = ε
93+
return ε
9394
end
9495

9596
function set_ztol(N::Type{NT}, ε::NT) where {NT<:Number}
9697
tol = get!(TOL_N, N, default_tolerance(N))
9798
tol.ztol = ε
99+
return ε
98100
end
99101

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

0 commit comments

Comments
 (0)