Skip to content

Commit 8b3d73a

Browse files
committed
fix
1 parent 92c841f commit 8b3d73a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/NaNMath.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh,
1414
end
1515
end
1616

17-
@eval begin
18-
Base.@assume_effects :total lgamma(x::Float64) = ccall(("lgamma",libm), Float64, (Float64,), x)
19-
Base.@assume_effects :total lgamma(x::Float32) = ccall(("lgammaf",libm), Float32, (Float32,), x)
20-
end
17+
Base.@assume_effects :total lgamma(x::Float64) = ccall(("lgamma",libm), Float64, (Float64,), x)
18+
Base.@assume_effects :total lgamma(x::Float32) = ccall(("lgammaf",libm), Float32, (Float32,), x)
2119

2220
for f in (:sin, :cos, :tan)
2321
@eval begin

0 commit comments

Comments
 (0)