From 3e5f0ecb0a75b2f6324800f850480251c8b1002f Mon Sep 17 00:00:00 2001 From: Alexander Coxe Date: Thu, 12 Dec 2024 16:25:37 -0500 Subject: [PATCH] changed photon type to PHOTON --- src/constructors.jl | 2 +- src/types.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constructors.jl b/src/constructors.jl index ae87d44..0b22c73 100644 --- a/src/constructors.jl +++ b/src/constructors.jl @@ -25,7 +25,7 @@ function subatomic_particle(name::String) SUBATOMIC_SPECIES[name].mass, SUBATOMIC_SPECIES[name].spin, SUBATOMIC_SPECIES[name].mu, - 0., Kind.GBOSON) + 0., Kind.PHOTON) elseif lowercase(name) in leptons return Species(name, SUBATOMIC_SPECIES[name].charge, SUBATOMIC_SPECIES[name].mass, diff --git a/src/types.jl b/src/types.jl index ba16d76..1b46bd5 100644 --- a/src/types.jl +++ b/src/types.jl @@ -2,7 +2,7 @@ -@enumx Kind ATOM HADRON LEPTON GBOSON NULL +@enumx Kind ATOM HADRON LEPTON PHOTON NULL export Kind # The docstring for this struct is with its constructor, in the file