Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
carronj committed Feb 7, 2024
1 parent d8c8c79 commit 5c52f3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lenspyx/qest/nhl.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ def _get_nhl_pl2(qes1, qes2, cls_ivfs, lmax_qlm, ret_terms=False, verbose=True):
def _get_nhl(qes1:list[(ut.qeleg_multi, ut.qeleg_multi, callable)], qes2:list[(ut.qeleg_multi, ut.qeleg_multi, callable)], cls_ivfs, lmax_qlm,
cls_ivfs_bb=None, cls_ivfs_ab=None, ret_terms=False):

if min(len(qes1), len(qes2)) <= 0:
return np.zeros(lmax_qlm + 1), np.zeros(lmax_qlm + 1)

cls_ivfs_aa = cls_ivfs
cls_ivfs_bb = cls_ivfs if cls_ivfs_bb is None else cls_ivfs_bb
cls_ivfs_ab = cls_ivfs if cls_ivfs_ab is None else cls_ivfs_ab
Expand Down

0 comments on commit 5c52f3b

Please sign in to comment.