From 1ca46fd949a9efdb63e55e325861bb3533063ebc Mon Sep 17 00:00:00 2001 From: jacquot Date: Wed, 18 Dec 2024 14:36:26 +0100 Subject: [PATCH] Changing the error message for sigma check --- pycbc/distributions/sky_location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycbc/distributions/sky_location.py b/pycbc/distributions/sky_location.py index 006451ff9c5..2574b5cb131 100644 --- a/pycbc/distributions/sky_location.py +++ b/pycbc/distributions/sky_location.py @@ -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: