Skip to content

Commit e784c9f

Browse files
committed
fixed syntax error in ccall
1 parent 7f4fd2d commit e784c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/erf.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ for f in (:erf, :erfc)
2525
end
2626
end
2727

28-
_erfc(x::Float64) = ccall((_erfc, libopenlibm), Float64, (Float64,), x)
29-
_erfc(x::Float32) = ccall((_erfcf, libopenlibm), Float32, (Float32,), x)
28+
_erfc(x::Float64) = ccall((erfc, libopenlibm), Float64, (Float64,), x)
29+
_erfc(x::Float32) = ccall((erfcf, libopenlibm), Float32, (Float32,), x)
3030
_erfc(x::Float16) = Float16(_erfc(Float32(x)))
3131

3232
for f in (:erfcx, :erfi, :dawson, :faddeeva)

0 commit comments

Comments
 (0)