Fix Python 3.5-related issue in mgxs module

This commit is contained in:
Paul Romano 2016-04-25 12:58:33 -05:00
parent 3da96a89be
commit 34bd405245

View file

@ -412,7 +412,7 @@ class MGXS(object):
# Otherwise, return all nuclides in the spatial domain
else:
nuclides = self.domain.get_all_nuclides()
return nuclides.keys()
return list(nuclides.keys())
def get_nuclide_density(self, nuclide):
"""Get the atomic number density in units of atoms/b-cm for a nuclide