Ensure CorrelatedAngleEnergy.to_hdf5 works for continuous+discrete eout dists

This commit is contained in:
Paul Romano 2020-12-08 06:51:56 -06:00
parent ccf5799f0f
commit 8424f9b366

View file

@ -120,7 +120,7 @@ class CorrelatedAngleEnergy(AngleEnergy):
self.interpolation))
# Determine total number of (E,p) pairs and create array
n_tuple = sum(len(d.x) for d in self.energy_out)
n_tuple = sum(len(d) for d in self.energy_out)
eout = np.empty((5, n_tuple))
# Make sure all mu data is tabular