Skip to content

Commit

Permalink
Another merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Apr 16, 2024
1 parent 0ef8489 commit d4c3345
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/exoplanet/orbits/dur_to_ecc.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ def duration_to_eccentricity(
s = pt.sin(kwargs["omega"])
umax_inv = pt.switch(pt.lt(s, 0), pt.sqrt(1 - s**2), 1.0)

const = (
period * pt.shape_padright(r_star) * pt.sqrt((1 + ror) ** 2 - b**2)
)
const = period * pt.shape_padright(r_star) * pt.sqrt((1 + ror) ** 2 - b**2)
const /= np.pi * a

u = duration / const
Expand Down

0 comments on commit d4c3345

Please sign in to comment.