Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure skewed dataset is cast to bool properly #3001

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openmc/data/njoy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion openmc/data/thermal_angle_energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def from_hdf5(cls, group):
"""
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)


Expand Down