Skip to content

Commit 2a29b78

Browse files
Update src/gamma.jl
Co-authored-by: Michael Helton <[email protected]>
1 parent 6d36aa1 commit 2a29b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gamma.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function gamma(_x::Float32)
6868
w = evalpoly(inv(x), (2.506628299028453, 0.20888413086840676, 0.008736513049552962, -0.007022997182153692, 0.0006787969600290756))
6969
res = @fastmath sqrt(x) * exp(log(x*1/ℯ) * x) * w
7070
end
71-
return Float32(_x<0 ? π / (s * res) : res)
71+
return Float32(_x < 0 ? π / (s * res) : res)
7272
end
7373

7474
function gamma(_x::Float16)

0 commit comments

Comments
 (0)