Skip to content

Commit cc710a5

Browse files
authored
Merge pull request #78 from keatonb/master
fix mass reassignment outside of allowed bounds
2 parents a6161b3 + c8e1e5c commit cc710a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transitleastsquares/grid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def period_grid(
8585
+ ")"
8686
)
8787
warnings.warn(text)
88-
R_star = 0.01
88+
M_star = 0.01
8989

9090
if M_star > 1000:
9191
text = (
@@ -94,7 +94,7 @@ def period_grid(
9494
+ ")"
9595
)
9696
warnings.warn(text)
97-
R_star = 1000
97+
M_star = 1000
9898

9999
R_star = R_star * tls_constants.R_sun
100100
M_star = M_star * tls_constants.M_sun

0 commit comments

Comments
 (0)