Skip to content

Commit 239e59e

Browse files
committed
add inbounds
1 parent 88ee79f commit 239e59e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MultivariateSingularIntegrals.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module MultivariateSingularIntegrals
22
using LinearAlgebra, ClassicalOrthogonalPolynomials, SingularIntegrals, FillArrays
33
import Base: size
44

5-
export logkernelsquare, stieltjessquare
5+
export logkernelsquare, stieltjessquare, logkernelsquare!
66

77

88
function imlogkernel_vec(n, z)

src/logkernelsquare.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function logkernelsquare!(A::AbstractMatrix{T}, z, F_1, F_2) where T
169169
A[2,j+1] = F[1,j+1] + im*(A[1,j+2] - A[1,j])/(2j+1)
170170
end
171171

172-
for= 1:((n-1)÷2-1)
172+
@inbounds for= 1:((n-1)÷2-1)
173173
for k =+1:n-(ℓ+2)
174174
A[k+1,ℓ+2] = (2+1)*im*(F[k+1,ℓ+1] + (A[k,ℓ+1] - A[k+2,ℓ+1])/(2k+1)) + A[k+1,ℓ]
175175
end

0 commit comments

Comments
 (0)