diff --git a/treecorr/corr3base.py b/treecorr/corr3base.py index 3efc0448..e656727a 100644 --- a/treecorr/corr3base.py +++ b/treecorr/corr3base.py @@ -492,7 +492,7 @@ def __init__(self, config=None, *, logger=None, rng=None, **kwargs): # Adjust phi_bin_size given the other values self._ro.ubin_size = (self.max_phi-self.min_phi)/self.nphi_bins self._ro.min_v = self._ro.max_v = self._ro.nvbins = self._ro.vbin_size = 0 - else: + else: # pragma: no cover (Already checked by config layer) raise ValueError("Invalid bin_type %s"%self.bin_type) self._ro.split_method = self.config.get('split_method','mean')