mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Merge pull request #931 from smharper/filter_id_warn
Remove false warnings when one tally filter is used in multiple tallies
This commit is contained in:
commit
75c7d41022
1 changed files with 1 additions and 1 deletions
|
|
@ -3516,7 +3516,7 @@ class Tallies(cv.CheckedList):
|
|||
if f not in already_written:
|
||||
root_element.append(f.to_xml_element())
|
||||
already_written[f] = f.id
|
||||
else:
|
||||
elif f.id != already_written[f]:
|
||||
# Set the IDs of identical filters with different
|
||||
# user-defined IDs to the same value
|
||||
f.id = already_written[f]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue