You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be related with this error. I believe that the check lmax <= 0 is not working at all. It seems that for lmax=0it actually computes it up to l=0
I got this error when I set lmax = 0 in the field and reuse a precomputed covariance workspace
def comp_gaussian_covariance(cw, spin_a1, spin_a2, spin_b1, spin_b2, wa, wb, ncl11, ncl12, ncl21, ncl22, dout):
> return _nmtlib.comp_gaussian_covariance(cw, spin_a1, spin_a2, spin_b1, spin_b2, wa, wb, ncl11, ncl12, ncl21, ncl22, dout)
E RuntimeError: Coupling coefficients only computed up to l=0, but you requirelmax=95. Recompute this workspace with a larger lmax
@carlosggarcia I think this is a problem with the documentation. If you want to use the default lmaxs, you should set them to None, which is the default. Does that make sense? I'll open a PR to fix the docs.
This code fails:
(also for
lmax
), with error. If it is intentional, the documentation needs to be updated.The text was updated successfully, but these errors were encountered: