From b55822b6a5f1dba841b6f9a349713b4ee7422c87 Mon Sep 17 00:00:00 2001 From: Christian Chapman-Bird Date: Wed, 20 Nov 2024 13:38:58 +0000 Subject: [PATCH] change error to be argument-independent --- few/utils/ylm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/few/utils/ylm.py b/few/utils/ylm.py index c9347a18..3829f509 100644 --- a/few/utils/ylm.py +++ b/few/utils/ylm.py @@ -277,7 +277,7 @@ def _ylm_kernel_inner( temp = 3.*exp(10.*I*phi)*sqrt(146965./(2.*PI))*pow(cos(theta/2.),12)*pow(sin(theta/2.),8) else: - raise ValueError(f"Not implemented l={l} m={m}.") + raise ValueError(f"(l, m) > 10 are not supported.") if m < 0: temp = -1**l * temp