Skip to content

Commit

Permalink
minor update: ell-array now an array.
Browse files Browse the repository at this point in the history
  • Loading branch information
humnaawan committed Jan 30, 2024
1 parent b34bc89 commit 57668b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepcmbsim/camb_power_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_cls(self, save_to_dict=None, user_params=True):
# main calculation: https://camb.readthedocs.io/en/latest/camb.html#camb.get_results
results = camb.get_results(self.CAMBparams)

outdict = { 'l': range(self.max_l_use + 1) }
outdict = { 'l': np.arange(self.max_l_use+1) }
if self.UserParams['cls_to_output'] == 'all':
cls_needed = ['clTT', 'clEE', 'clBB', 'clTE', 'clPP', 'clPT', 'clPE']
else:
Expand Down

0 comments on commit 57668b7

Please sign in to comment.