Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Oct 10, 2021
1 parent 6bc83fc commit 9145d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KernelHilbertEmbeddings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function mmd!(MF::MB.AbstractManifold,
_val1 -= ker(MF, a[i], b[j], bw[1])
end
end
_val1 .*= 2.0*_N*_N
_val1 *= 2.0*_N*_M
@inbounds @fastmath for i in 1:N
@simd for j in 1:N
_val2 += ker(MF, a[i], a[j], bw[1])
Expand Down

0 comments on commit 9145d6e

Please sign in to comment.