Skip to content

Commit

Permalink
bug fix in the check on clEB.
Browse files Browse the repository at this point in the history
  • Loading branch information
humnaawan committed Jan 30, 2024
1 parent 4e47183 commit a5b8603
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 @@ -103,7 +103,7 @@ def get_cls(self, save_to_dict=None, user_params=True):
cls_needed = ['clTT', 'clEE', 'clBB', 'clTE', 'clPP', 'clPT', 'clPE']
else:
cls_needed = self.UserParams['cls_to_output']
if 'EB' in cls_needed:
if 'clEB' in cls_needed:
raise ValueError('camb does NOT output EB => it cant be in cls_to_output.')

# https://camb.readthedocs.io/en/latest/results.html#camb.results.CAMBdata.get_total_cls
Expand Down

0 comments on commit a5b8603

Please sign in to comment.