Skip to content

Commit a7f6b9e

Browse files
committed
minor changes
1 parent db1da9c commit a7f6b9e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/MultivariateSingularIntegrals.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ function rec_rhs_2!(F::AbstractMatrix{T}, z) where T
128128
end
129129

130130

131-
function logkernelsquare_populatefirstcolumn!(A, z, F_1=rec_rhs_1(z, size(A)...), F_2=rec_rhs_2(z, size(A)...))
131+
function logkernelsquare_populatefirstcolumn!(A, z, F_1, F_2)
132132
A[2,1] = z * A[1,1]/3 + (F_2[1,1] - 2F_1[1,1])/3
133133
for k = 1:size(A,1)-2
134134
A[k+2,1] = (2k+1) * z * A[k+1,1]/(k+3) - (k-2)*A[k,1]/(k+3) + (2k+1) * (F_2[k+1,1] - 2F_1[k+1,1])/(k+3)
135135
end
136136
A
137137
end
138138

139-
function logkernelsquare_populatefirstrow!(A, z, F_1=rec_rhs_1(z, size(A)...), F_2=rec_rhs_2(z, size(A)...))
139+
function logkernelsquare_populatefirstrow!(A, z, F_1, F_2)
140140
A[1,2] = z*A[1,1]/(3im) + (F_1[1,1]-2F_2[1,1])/(3im)
141141
for j = 1:size(A,2)-2
142142
A[1,j+2] = -im * (2j+1) * z * A[1,j+1]/(j+3) - (j-2)*A[1,j]/(j+3) - im * (2j+1) * (F_1[1,j+1] - 2F_2[1,j+1])/(j+3)

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using MultivariateSingularIntegrals, QuadGK, ClassicalOrthogonalPolynomials, Tes
66
for z in Z
77
L = logkernelsquare(z,n)
88
for j = 0:n-1, k=0:n-j-1
9+
@show k,j
910
q = quadgk(s -> quadgk(t -> iszero(s+im*t) ? 0.0+0.0im : log(z-(s+im*t)) * legendrep(k,s) * legendrep(j,t), -1, 1, atol=1E-12)[1], -1, 1, atol=1E-12)[1]
1011
@test q L[k+1,j+1] atol=1E-10
1112
end

0 commit comments

Comments
 (0)