Skip to content

Commit

Permalink
FIX: print top number in Gell-Mann-Nishijima error
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Apr 23, 2024
1 parent a8fbcee commit 662ac57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qrules/particle.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def __attrs_post_init__(self) -> None:
f" Q[{self.charge}] !="
f" Iz[{self.isospin.projection if self.isospin else 0}] + 1/2"
f" (B[{self.baryon_number}] + S[{self.strangeness}] + "
f" C[{self.charmness}] + B'[{self.bottomness}] + T[{self.strangeness}])"
f" C[{self.charmness}] + B'[{self.bottomness}] + T[{self.topness}])"
)
raise ValueError(msg)

Expand Down

0 comments on commit 662ac57

Please sign in to comment.