Skip to content

Commit

Permalink
change error to be argument-independent
Browse files Browse the repository at this point in the history
  • Loading branch information
cchapmanbird committed Nov 20, 2024
1 parent 56848ad commit b55822b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion few/utils/ylm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b55822b

Please sign in to comment.