mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Ensure CorrelatedAngleEnergy.to_hdf5 works for continuous+discrete eout dists
This commit is contained in:
parent
ccf5799f0f
commit
8424f9b366
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue