Skip to content

Commit

Permalink
Reverted clik guard
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Aug 16, 2019
1 parent f4527a6 commit 570cfc1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions source/cliklike.f90
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ real(mcp) function clik_lnlike(this, CMB, Theory, DataParams)
if (l >= 2) then
clik_cl_and_pars(j) = CLs%CL(L)/real(l*(l+1),mcp)*twopi
end if
! Guard against clik errors
if (i==2 .and. l<=29 .and. CLs%CL(L)>=0.29) then
global_error_flag = 1
clik_lnlike = logzero
return
end if
j = j+1
end do
end associate
Expand Down

0 comments on commit 570cfc1

Please sign in to comment.