Skip to content

Commit

Permalink
Merge pull request #15 from ACEsuit/fix_o3_test
Browse files Browse the repository at this point in the history
Minor changes to the o3 tests
  • Loading branch information
cortner authored Jun 7, 2024
2 parents 158b425 + ae03b99 commit ec1aab0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_obsolete_o3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ for L = 0:2

X = [ (@SVector rand(3)) for i in 1:length(ll) ]
θ = rand(3) * 2pi
Q = RotXYZ...)
Q = RotZYZ...)
B1 = eval_basis(ll, Ure, Mll, X; Real = false)
B2 = eval_basis(ll, Ure, Mll, Ref(Q) .* X; Real = false)
# TODO: combine into a single test
Expand Down Expand Up @@ -216,7 +216,7 @@ for L = 0:0

X = [ (@SVector rand(3)) for i in 1:length(ll) ]
θ = rand(3) * 2pi
Q = RotXYZ...)
Q = RotZYZ...)
B1 = eval_basis(ll, Ure, Mll, X; Real = true)
B2 = eval_basis(ll, Ure, Mll, Ref(Q) .* X; Real = true)
if L == 0
Expand Down Expand Up @@ -248,7 +248,7 @@ for L = 0:2

X = [ (@SVector rand(3)) for i in 1:length(ll) ]
θ = rand(3) * 2pi
Q = RotXYZ...)
Q = RotZYZ...)

B1 = eval_basis(ll, Ure, Mll, X; Real = false)
B2 = eval_basis(ll, Ure, Mll, Ref(Q) .* X; Real = false)
Expand All @@ -273,7 +273,7 @@ for ntest = 1:30

X = [ (@SVector rand(3)) for i in 1:length(ll) ]
θ = rand(3) * 2pi
Q = RotXYZ...)
Q = RotZYZ...)

B1 = eval_basis(ll, Ure, Mll, X; Real = false)
B2 = eval_basis(ll, Ure, Mll, Ref(Q) .* X; Real = false)
Expand Down

0 comments on commit ec1aab0

Please sign in to comment.