mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fix bug with IncidentNeutron.temperatures for ENDF files
This commit is contained in:
parent
d84c379007
commit
fe731b7f19
1 changed files with 1 additions and 1 deletions
|
|
@ -730,7 +730,7 @@ class IncidentNeutron(EqualityMixin):
|
|||
|
||||
# Instantiate incident neutron data
|
||||
data = cls(name, atomic_number, mass_number, metastable,
|
||||
atomic_weight_ratio, temperature)
|
||||
atomic_weight_ratio, [temperature])
|
||||
|
||||
if (2, 151) in ev.section:
|
||||
data.resonances = res.Resonances.from_endf(ev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue