diff options
author | 2021-07-15 06:38:16 -0700 | |
---|---|---|
committer | 2021-07-15 06:38:16 -0700 | |
commit | e1defec69aed17325985e183bedd83647bd74f33 (patch) | |
tree | 6e4a97094f49391471c5fe47e4548bf4a9230ac8 /Python/pywarpx/picmi.py | |
parent | d51f7ed72547d46ce87c0ce402027ecf06d3950c (diff) | |
download | WarpX-e1defec69aed17325985e183bedd83647bd74f33.tar.gz WarpX-e1defec69aed17325985e183bedd83647bd74f33.tar.zst WarpX-e1defec69aed17325985e183bedd83647bd74f33.zip |
Changed species to self.species as species is not defined (#2087)
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r-- | Python/pywarpx/picmi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index d73e954ef..012811c0b 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -1003,7 +1003,7 @@ class ParticleDiagnostic(picmistandard.PICMI_ParticleDiagnostic): if np.iterable(self.species): species_list = self.species else: - species_list = [species] + species_list = [self.species] if self.mangle_dict is None: # Only do this once so that the same variables are used in this distribution |