Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglw0521 committed Jan 16, 2025
1 parent 8abbb14 commit 4d15087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/O3_alternative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function gram(X::Matrix{SVector{N,T}}) where {N,T}
G = zeros(T, size(X,1), size(X,1))
for i = 1:size(X,1)
for j = i:size(X,1)
G[i,j] = sum(dot(X[i,t], X[j,t]') for t = 1:size(X,2))
G[i,j] = sum(dot(X[i,t], X[j,t]) for t = 1:size(X,2))
i == j ? nothing : (G[j,i]=G[i,j]')
end
end
Expand Down
1 change: 1 addition & 0 deletions test/new_rpe_test.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

using SpheriCart, StaticArrays, LinearAlgebra, RepLieGroups, WignerD,
Combinatorics, Rotations
using WignerD: wignerD
using RepLieGroups.O3: Rot3DCoeffs, Rot3DCoeffs_real, Rot3DCoeffs_long, coco_dot
using RepLieGroups: gram
O3 = RepLieGroups.O3
Expand Down

0 comments on commit 4d15087

Please sign in to comment.