mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
fixed bug for misaligned energy and energyout filters
This commit is contained in:
parent
a59c167d34
commit
61fab479e0
1 changed files with 1 additions and 2 deletions
|
|
@ -1344,7 +1344,7 @@ class Tally(object):
|
|||
|
||||
# If a user-requested Filter, get the user-requested bins
|
||||
for j, test_filter in enumerate(filters):
|
||||
if isinstance(self_filter, test_filter):
|
||||
if type(self_filter) == test_filter:
|
||||
bins = filter_bins[j]
|
||||
user_filter = True
|
||||
break
|
||||
|
|
@ -2126,7 +2126,6 @@ class Tally(object):
|
|||
----------
|
||||
filter1 : Filter
|
||||
The filter to swap with filter2
|
||||
|
||||
filter2 : Filter
|
||||
The filter to swap with filter1
|
||||
other_old : openmc.Tally
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue