Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
DavAug committed Aug 5, 2023
1 parent 14acb5d commit 100bb9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chi/_log_pdfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def __call__(self, parameters):
top_parameters, bottom_parameters, covariates=self._covariates)

# Return if values already lead to a rejection
if np.isinf(score):
return score
if np.isinf(score): # noqa: no cover
return score # noqa: no cover

# Transform bottom-level parameters
# Identity, if model does not tranform parameters
Expand Down

0 comments on commit 100bb9c

Please sign in to comment.