Skip to content

Commit

Permalink
pylint fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aguena committed Sep 24, 2024
1 parent feedb4b commit 13e536a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clmm/redshift/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def _integ_pzfuncs(pzpdf, pzbins, zmin=0.0, zmax=5, kernel=None, ngrid=1000, use
"""

if kernel is None:
kernel = lambda z: 1.0
def kernel(z):
return 1.0

if hasattr(pzbins[0], "__len__"):

Expand Down

0 comments on commit 13e536a

Please sign in to comment.