Return defaultdict(dict) from Chain.get_default_fission_yields

This commit is contained in:
Andrew Johnson 2019-09-11 10:42:16 -05:00
parent 1a4bbb9068
commit 99dfa1f053
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB

View file

@ -412,7 +412,7 @@ class Chain(object):
names of nuclides with yield data and ``f_yield``
is a float for the fission yield.
"""
out = {}
out = defaultdict(dict)
for nuc in self.nuclides:
if nuc.yield_data is None:
continue