fixed bug in tally.get_slice() method for mesh filters

This commit is contained in:
Sam Shaner 2016-07-05 08:45:19 -04:00
parent 4198b6b514
commit c66cb6ab66

View file

@ -2986,6 +2986,9 @@ class Tally(object):
elif filter_type == 'distribcell':
bin_indices = [0]
num_bins = find_filter.num_bins
elif filter_type == 'mesh':
bin_indices = [0]
num_bins = find_filter.mesh.num_mesh_cells
else:
bin_indices.append(bin_index)
num_bins += 1