Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plot_hydro_density_distributions.py: print the right info #1081

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

rieder
Copy link
Member

@rieder rieder commented Oct 21, 2024

No description provided.

@rieder rieder requested a review from a team as a code owner October 21, 2024 10:18
@rieder rieder merged commit 2f788f3 into main Oct 21, 2024
4 checks passed
@rieder rieder deleted the rieder-patch-1 branch October 21, 2024 10:18
@@ -13,7 +13,7 @@ def stellar_model(N, M, t=0.0|units.Myr):
se_star = stellar_evolution.particles.add_particle(star)
print("Evolving", star.mass, "to t=", t.in_(units.Myr))
stellar_evolution.evolve_model(t)
print("Stellar type:", stellar_evolution.particles.stellar_type)
print("Stellar type:", se_star.stellar_type)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will print "Main Sequence Star" rather than "[1] stellar_type"...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant