Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
At line 562 in output.c, when calling lensing_cl_at_l, it use argument (double)l instead of l.
However, lensing_cl_at_l is defined in lensing.c with argument int l at line 39.
This sometimes arise error message. When you transfer a double type l into lensing_cl_at_l but declare it is int type, then it is said condition (l > ple->l_lensed_max) is true .
So I think lensing_cl_at_l should have argument double l, like the function harmonic_cl_at_l.
I think this is a tiny problem in the code, or should it have other explanation? I'll appreciate it if someone could explain it. Thanks!
At line 562 in
output.c
, when callinglensing_cl_at_l
, it use argument(double)l
instead ofl
.However,
lensing_cl_at_l
is defined inlensing.c
with argumentint l
at line 39.This sometimes arise error message. When you transfer a double type l into
lensing_cl_at_l
but declare it is int type, then it is saidcondition (l > ple->l_lensed_max) is true
.So I think
lensing_cl_at_l
should have argumentdouble l
, like the functionharmonic_cl_at_l
.I think this is a tiny problem in the code, or should it have other explanation? I'll appreciate it if someone could explain it. Thanks!