removed unnecessary limber check
@@ -848,12 +848,6 @@ static void get_k_interval(ccl_cosmology *cosmo,CCL_ClWorkspace *w,
CCL_ClTracer *clt1,CCL_ClTracer *clt2,int l,
double *lkmin,double *lkmax)
{
- if(l<w->l_limber) {
- //If non-Limber, we need to integrate over the whole range of k.
- *lkmin=log10(ccl_splines->K_MIN);
- *lkmax=log10(ccl_splines->K_MAX);
- }
- else {
double chimin,chimax;
int cut_low_1=0,cut_low_2=0;
@@ -886,7 +880,6 @@ static void get_k_interval(ccl_cosmology *cosmo,CCL_ClWorkspace *w,
*lkmax=log10(fmin( ccl_splines->K_MAX ,2 *(l+0.5)/chimin));
*lkmin=log10(fmax( ccl_splines->K_MIN ,0.5*(l+0.5)/chimax));
}
-}
//Compute angular power spectrum between two bins
//cosmo -> ccl_cosmology object
