Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions hierarc/Likelihood/BAOLikelihood/desi_dr2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@


class DESIDR2Data(object):
"""
This class collect the data from teh DESI DR2 analysis presented in `DESI collaboration et al. 2025`_.
"""This class collect the data from teh DESI DR2 analysis presented in `DESI
collaboration et al. 2025`_.

The data covariances that are stored in hierArc are originally from `DESI DR2`_.

If you make use of these products, please cite `DESI collaboration et al. 2025`_.

.. _DESI DR2: https://github.com/CobayaSampler/bao_data/tree/master/desi_bao_dr2
.. _DESI collaboration et al. 2025: https://arxiv.org/abs/2503.14738

"""

def __init__(self):
Expand Down
1 change: 0 additions & 1 deletion hierarc/Likelihood/hierarchy_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ def hyper_param_likelihood(
exp_logl = np.exp(logl)
if np.isfinite(exp_logl) and exp_logl > 0:
likelihood += exp_logl

if likelihood <= 0:
return -np.inf
return np.log(likelihood / self._num_distribution_draws)
Expand Down