mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
converted isotopes from iterator to list for python 3 compatibility
This commit is contained in:
parent
bc3b597be5
commit
5708ff9d77
1 changed files with 1 additions and 0 deletions
|
|
@ -475,6 +475,7 @@ class Material(object):
|
|||
# Get the isotopes and their natural abundances
|
||||
isotopes, abundances = zip(*element.expand())
|
||||
abundances = list(abundances)
|
||||
isotopes = list(isotopes)
|
||||
n_isotopes = len(isotopes)
|
||||
|
||||
# Create a list of atomic masses
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue