Skip to content

Commit

Permalink
zero low multiples for get_lensed_cls_with_spectrum
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 29, 2022
1 parent 71a638a commit b73a2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camb/results.py
Expand Up @@ -1312,7 +1312,7 @@ def get_lensed_cls_with_spectrum(self, clpp, lmax=None, CMB_unit=None, raw_cl=Fa
lmax_unlens = self.Params.max_l
if clpp.shape[0] < lmax_unlens + 1:
raise CAMBValueError('clpp must go to at least Params.max_l (zero based)')
res = np.empty((lmax_unlens + 1, 4), dtype=np.float64)
res = np.zeros((lmax_unlens + 1, 4), dtype=np.float64)
lmax_lensed = c_int(0)
lensClsWithSpectrum = lib_import('lensing', '', 'lensclswithspectrum')
lensClsWithSpectrum.argtypes = [POINTER(CAMBdata), numpy_1d, numpy_2d, int_arg]
Expand Down

0 comments on commit b73a2db

Please sign in to comment.