From 57668b75d717ec8c7e23fbcd08da1008db9ae985 Mon Sep 17 00:00:00 2001 From: Humna Awan Date: Mon, 29 Jan 2024 22:26:32 -0500 Subject: [PATCH] minor update: ell-array now an array. --- deepcmbsim/camb_power_spectrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepcmbsim/camb_power_spectrum.py b/deepcmbsim/camb_power_spectrum.py index 26a97b3..f3a8f5e 100644 --- a/deepcmbsim/camb_power_spectrum.py +++ b/deepcmbsim/camb_power_spectrum.py @@ -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: