Skip to content

Commit

Permalink
Fixed dumb off by 1 error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 21, 2024
1 parent 6d8023c commit 5c3d96b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions montepy/input_parser/tally_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def end_phrase(self, p):
)
def tally_numbers(self, p):
if hasattr(p, "tally_numbers1"):
ret = p.tally_numbers1
for node in p.tally_numbers2.nodes:
ret = p.tally_numbers0
for node in p.tally_numbers1.nodes:
ret.append(node)
return ret
else:
Expand Down

0 comments on commit 5c3d96b

Please sign in to comment.