mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Tally.add_tally(...) now breaks loop if merges with another Tally
This commit is contained in:
parent
ae2d379dc2
commit
1395bc8b88
1 changed files with 1 additions and 0 deletions
|
|
@ -854,6 +854,7 @@ class TalliesFile(object):
|
|||
merged_tally = tally2.merge(tally)
|
||||
self._tallies[i] = merged_tally
|
||||
merged = True
|
||||
break
|
||||
|
||||
# If not mergeable tally was found, simply add this tally
|
||||
if not merged:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue