Skip to content

Commit

Permalink
Update plot_hydro_density_distributions.py: print the right info
Browse files Browse the repository at this point in the history
  • Loading branch information
rieder authored Oct 21, 2024
1 parent bf64b3b commit 4581c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/textbook/plot_hydro_density_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
print("Creating SPH particles from the (1D) stellar evolution model")
sph_particles = convert_stellar_model_to_SPH(se_star, N).gas_particles
stellar_evolution.stop()
Expand Down

0 comments on commit 4581c32

Please sign in to comment.