Skip to content

Commit

Permalink
Changing the error message for sigma check
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquot committed Dec 18, 2024
1 parent 12dd166 commit 1ca46fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycbc/distributions/sky_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self, **params):
)
if sigma < 0 or sigma > 2 * numpy.pi:
raise ValueError(
'Sigma must be positive and smaller than 2π '
'Sigma must be non-negative and smaller than 2π '
'(preferably much smaller)'
)
if sigma > 0.35:
Expand Down

0 comments on commit 1ca46fd

Please sign in to comment.