Skip to content

Commit

Permalink
no cover unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed Jan 2, 2024
1 parent c2c3dfa commit b586bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treecorr/corr3base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b586bdc

Please sign in to comment.