Fix for IncoherentElasticAE.from_hdf5

This commit is contained in:
Paul Romano 2022-07-25 16:00:50 -05:00
parent 425dba5d25
commit 0118067e2f

View file

@ -122,7 +122,7 @@ class IncoherentElasticAE(AngleEnergy):
Incoherent elastic distribution
"""
return cls(group['debye_waller'])
return cls(group['debye_waller'][()])
class IncoherentElasticAEDiscrete(AngleEnergy):