mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Make sure skewed dataset is cast to bool properly (#3001)
This commit is contained in:
parent
8b33615ac2
commit
1f3280461f
2 changed files with 2 additions and 2 deletions
|
|
@ -453,7 +453,7 @@ def make_ace_thermal(filename, filename_thermal, temperatures=None,
|
|||
error : float, optional
|
||||
Fractional error tolerance for NJOY processing
|
||||
iwt : int
|
||||
`iwt` parameter used in NJOR/ACER card 9
|
||||
`iwt` parameter used in NJOY/ACER card 9
|
||||
evaluation : openmc.data.endf.Evaluation, optional
|
||||
If the ENDF neutron sublibrary file contains multiple material
|
||||
evaluations, this argument indicates which evaluation to use.
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ class IncoherentInelasticAEDiscrete(AngleEnergy):
|
|||
"""
|
||||
energy_out = group['energy_out'][()]
|
||||
mu_out = group['mu_out'][()]
|
||||
skewed = bool(group['skewed'])
|
||||
skewed = bool(group['skewed'][()])
|
||||
return cls(energy_out, mu_out, skewed)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue