mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fix missing variable in tallies.py (thanks to @jlanversin). Closes #1727
This commit is contained in:
parent
7cc62d8529
commit
cc787830f3
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ class Tally(IDManagerMixin):
|
|||
if nuc in visited_nuclides:
|
||||
msg = 'Unable to add a duplicate nuclide "{}" to Tally ID="{}" ' \
|
||||
'since duplicate nuclides are not supported in the OpenMC ' \
|
||||
'Python API'.format(nuclide, self.id)
|
||||
'Python API'.format(nuc, self.id)
|
||||
raise ValueError(msg)
|
||||
visited_nuclides.add(nuc)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue