Skip to content

Commit

Permalink
peutils.py: apply black to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpitkin committed Mar 18, 2024
1 parent 32a3e41 commit 6fc4a15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cwinpy/pe/peutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,11 @@ def __init__(self, resdir=None, **kwargs):
)

h0sd = np.nan
if psr in f1s and psr in distances and np.isfinite(distances[psr]):
if (
psr in f1s
and psr in distances
and np.isfinite(distances[psr])
):
if f1s[psr] < 0.0:
h0sd = sdeq(
rotationfdot=f1s[psr],
Expand Down

0 comments on commit 6fc4a15

Please sign in to comment.