Skip to content

Commit

Permalink
fixup! feat: Add SParticle type for type-parameterized particles
Browse files Browse the repository at this point in the history
  • Loading branch information
Beforerr committed Nov 24, 2024
1 parent f8cb936 commit 579aee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typed_particles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ atomic_number(::SParticle{z,Z}) where {z,Z} = Z
mass_number(::SParticle{z,Z,A}) where {z,Z,A} = A

element(::SParticle{z,Z}) where {z,Z} = elements[Z]
symbol(p::SParticle) = element(p).symbol
symbol(p::SParticle) = symbol(element(p))

0 comments on commit 579aee1

Please sign in to comment.