Skip to content

Commit a886a21

Browse files
authored
Fix tolerance on loggamma integration test (#537)
1 parent 94377de commit a886a21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/special_functions.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ end
1414
@testset "loggamma" begin
1515
@test SpecialFunctions.loggamma(0.5)
1616
@jit(SpecialFunctions.loggamma(ConcreteRNumber(0.5)))
17-
@test SpecialFunctions.loggamma(2) @jit(SpecialFunctions.loggamma(ConcreteRNumber(2)))
17+
@test abs(SpecialFunctions.loggamma(2)) < 1e-10
18+
@test abs(@jit(SpecialFunctions.loggamma(ConcreteRNumber(2)))) < 1e-10
1819
end
1920

2021
@testset "digamma" begin

0 commit comments

Comments
 (0)