Skip to content

Commit

Permalink
Improve alpha_theta_bar_n conversion in Bubble
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Dec 7, 2024
1 parent 1dd15db commit 5c791aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pttools/bubble/bubble.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
self.wn = model.w_n(alpha_n, wn_guess, theta_bar=theta_bar)
if theta_bar:
self.alpha_theta_bar_n = alpha_n
self.alpha_n = model.alpha_n(self.wn)
self.alpha_n = model.alpha_n_from_alpha_theta_bar_n(alpha_theta_bar_n=alpha_n, wn=self.wn)
model.validate_alpha_n(self.alpha_n, allow_invalid=allow_invalid, log_invalid=log_invalid)
else:
self.alpha_n = alpha_n
Expand Down

0 comments on commit 5c791aa

Please sign in to comment.