mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fixed bug in statepoint.py
This commit is contained in:
parent
41350dc422
commit
c71ef57ddc
1 changed files with 2 additions and 1 deletions
|
|
@ -309,7 +309,8 @@ class StatePoint(object):
|
|||
if self._hdf5:
|
||||
path = 'tallies/tally{0}/results'.format(i+1)
|
||||
data = self._f[path].value
|
||||
t.results = np.dstack((data['sum'], data['sum_sq']))
|
||||
t.results = np.column_stack((data['sum'], data['sum_sq']))
|
||||
t.results.shape = (t.total_filter_bins, t.total_score_bins, 2)
|
||||
else:
|
||||
t.results = np.array(self._get_double(2*n))
|
||||
t.results.shape = (t.total_filter_bins, t.total_score_bins, 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue