Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wcxve committed Nov 13, 2024
1 parent 247d3da commit a140689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elisa/infer/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def check_stat(d: FixedData, s: Statistic):
stat1 = 'W' if d.back_poisson else 'PG'
stat2 = 'w' if d.back_poisson else 'pg'
msg = 'C-statistic (cstat) is not valid for Poisson data '
msg += f'with {back} background, use {stat1}-statistic'
msg += f'with {back} background, use {stat1}-statistic '
msg += f'({stat2}stat) for {name} instead'
raise ValueError(msg)

Expand Down

0 comments on commit a140689

Please sign in to comment.