Skip to content

Commit 566996a

Browse files
committed
add fastmath
1 parent e2e34dc commit 566996a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/besseli.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function besseli0(z::ComplexF64)
195195
s1 += C*f[ind]
196196
s2 += C*w[ind]
197197
end
198-
r = s1 / (s2 * sqrt(z) * exp(-z))
198+
r = @fastmath s1 / (s2 * sqrt(z) * exp(-z))
199199
end
200200
end
201201
isconj && (r = conj(r))
@@ -295,7 +295,7 @@ function besseli1(z::ComplexF64)
295295
s2 += C*w[ind]
296296
end
297297

298-
r = s1 / (s2 * sqrt(z) * exp(-z))
298+
r = @fastmath s1 / (s2 * sqrt(z) * exp(-z))
299299
end
300300
end
301301
isconj && (r = conj(r))

0 commit comments

Comments
 (0)