Skip to content

Commit a83d87e

Browse files
authored
fix fallback methods
1 parent 228afb2 commit a83d87e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/FunctionAccuracyTests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function test_acc(fun_table::Dict, xx; tol=1.5, debug = true, tol_debug = 5)
102102
end
103103
end
104104

105-
test_acc(f::Function, xx; tol = 1.5, debug = true, tol_debug = 5) = test_acc(Dict(f=>f), xx; tol = 1.5, debug = true, tol_debug = 5)
106-
test_acc(f::Function, min, max; tol = 1.5, debug = true, tol_debug = 5) = test_acc(Dict(f=>f), FloatIterator(min,max); tol = 1.5, debug = true, tol_debug = 5)
107-
105+
test_acc(f::Function, xx; tol = 1.5, debug = true, tol_debug = 5) = test_acc(Dict(f=>f), xx; tol = tol, debug = debug, tol_debug = tol_debug)
106+
test_acc(f::Function, min, max; tol = 1.5, debug = true, tol_debug = 5) = test_acc(Dict(f=>f), FloatIterator(min,max); tol = tol, debug = debug, tol_debug = tol_debug)
107+
test_acc(f::Function, T::Type; tol = 1.5, debug = true, tol_debug = 5) = test_acc(Dict(f=>f), FloatIterator(typemin(T),typemax(T); tol = tol, debug = debug, tol_debug = tol_debug))
108108
end # module

0 commit comments

Comments
 (0)