From 8d3856d512fa1d49dd6ead3c9a418c51fffb1ee2 Mon Sep 17 00:00:00 2001 From: ChristopherMayes <31023527+ChristopherMayes@users.noreply.github.com> Date: Sun, 9 Jan 2022 13:44:35 -0800 Subject: [PATCH] typo --- astra/astra_distgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astra/astra_distgen.py b/astra/astra_distgen.py index 5e902d7..5984c1d 100644 --- a/astra/astra_distgen.py +++ b/astra/astra_distgen.py @@ -134,7 +134,7 @@ def run_astra_with_distgen(settings=None, P = G.particles # Special flag for cathode start if G['start:type'] == 'cathode': - P.status[:] -1 + P.status[:] = -1 # Attach to Astra object A.initial_particles = P