Skip to content

Commit

Permalink
Merge pull request #56 from cesmix-mit/kernels
Browse files Browse the repository at this point in the history
Improve efficiency of kernel calculation
  • Loading branch information
joannajzou authored Dec 6, 2023
2 parents fe8273f + 646f12d commit 897fcf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ docs/src/generated/

# data too large for github
examples/aHfO2/
*.xyz
*.csv
2 changes: 1 addition & 1 deletion src/Kernels/kernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function KernelMatrix(
n = length(F)
K = zeros(n, n)
for i = 1:n
for j = 1:n
for j = i:n
K[i, j] = compute_kernel(F[i], F[j], k)
end
end
Expand Down

0 comments on commit 897fcf1

Please sign in to comment.