Commit 118f8852 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

bug smooth cl

parent 5698fe24
...@@ -248,7 +248,7 @@ def smooth_cl (cl, dloverl=0.1): ...@@ -248,7 +248,7 @@ def smooth_cl (cl, dloverl=0.1):
lhi = min(int(round(ell[l]*(1+dloverl/2.0))), lmax) lhi = min(int(round(ell[l]*(1+dloverl/2.0))), lmax)
if llo==lhi: if llo==lhi:
lhi=llo+1 lhi=llo+1
clsmooth[l] = mean(cl[llo:lhi]) clsmooth[l] = mean(cl[llo:lhi+1])
return clsmooth return clsmooth
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment