diff --git a/REQUIRE b/REQUIRE index 40a86bf..2fe81eb 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,2 +1,2 @@ julia 0.7 -SpecialFunctions +SpecialFunctions 0.7 diff --git a/test/gradcheck.jl b/test/gradcheck.jl index ac0012d..45688df 100644 --- a/test/gradcheck.jl +++ b/test/gradcheck.jl @@ -32,7 +32,7 @@ number, we check the gradient of `sum(f(x...))`. * `verbose=1`: 0 prints nothing, 1 shows failing tests, 2 shows all tests. """ -function gradcheck(f, x...; kw=(), args=:, nsample=10, verbose=1, rtol=0.01, atol=0.01, delta=0.0001) +function gradcheck(f, x...; kw=(), args=:, nsample=10, verbose=1, rtol=0.05, atol=0.01, delta=0.0001) args = isa(args, Colon) ? (1:length(x)) : args tape = Tape() xrec = Any[x...]