Skip to content

Commit

Permalink
Merge branch 'master' of github.com:williamjameshandley/CosmoChord
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Aug 4, 2019
2 parents bd75e97 + fdb782e commit 78c960e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/cliklike.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module cliklike
use CosmologyTypes
use CosmoTheory
use settings
use config
use Likelihood_Cosmology
implicit none

Expand Down Expand Up @@ -148,6 +149,12 @@ 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 78c960e

Please sign in to comment.