Skip to content

Commit

Permalink
Update pmd_beamphysics/particles.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ken Lauer <[email protected]>
  • Loading branch information
ChristopherMayes and ken-lauer authored Nov 20, 2024
1 parent a8928ee commit 4834750
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pmd_beamphysics/particles.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,6 @@ def fractional_split(self, fractions: Union[float, int, list], key: str):
and determines the split values. It then returns a list of ParticleGroup objects representing the split subsets.
"""
particles = self

# Ensure fractions is a list
if isinstance(fractions, (float, int)):
Expand Down

0 comments on commit 4834750

Please sign in to comment.