Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Reinhard <anton.reinhard@proton.me>
  • Loading branch information
szabo137 and AntonReinhard authored Oct 7, 2024
1 parent a4b4f5d commit e24cca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/particles/states.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test_broadcast(x::AbstractSpinOrPolarization) = x
V = base_state(Positron(), Outgoing(), P, AllSpin())
Vbar = base_state(Positron(), Incoming(), P, AllSpin())

@testset "normatlisation" begin
@testset "normalization" begin
for s1 in (1, 2)
for s2 in (1, 2)
@test isapprox(Ubar[s1] * U[s2], 2 * m * (s1 == s2))
Expand Down

0 comments on commit e24cca8

Please sign in to comment.