From 0118067e2f7cc1fd37f50591f998b2f97ce897ae Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 25 Jul 2022 16:00:50 -0500 Subject: [PATCH] Fix for IncoherentElasticAE.from_hdf5 --- openmc/data/thermal_angle_energy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/thermal_angle_energy.py b/openmc/data/thermal_angle_energy.py index 1f37863ea..17a560092 100644 --- a/openmc/data/thermal_angle_energy.py +++ b/openmc/data/thermal_angle_energy.py @@ -122,7 +122,7 @@ class IncoherentElasticAE(AngleEnergy): Incoherent elastic distribution """ - return cls(group['debye_waller']) + return cls(group['debye_waller'][()]) class IncoherentElasticAEDiscrete(AngleEnergy):