Skip to content

Commit bd753a9

Browse files
authored
fix tests
1 parent 5feb32f commit bd753a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/gamma_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
for (T, max) in ((Float16, 13), (Float32, 43), (Float64, 170))
22
x = rand(T, 10000)*max
3-
@test SpecialFunctions.gamma.(widen.(x)) Bessels.gamma.(x)
4-
@test SpecialFunctions.gamma.(widen.(-x)) Bessels.gamma.(-x)
3+
@test T.(SpecialFunctions.gamma.(widen.(x))) Bessels.gamma.(x)
4+
@test T.(SpecialFunctions.gamma.(widen.(-x))) Bessels.gamma.(-x)
55
@test isnan(Bessels.gamma(T(NaN)))
66
@test isinf(Bessels.gamma(T(Inf)))
77
end

0 commit comments

Comments
 (0)