Skip to content

Commit

Permalink
Merge branch 'main' into issue/1077-1
Browse files Browse the repository at this point in the history
  • Loading branch information
rieder authored Oct 21, 2024
2 parents 87e86e6 + 2f788f3 commit 15b6f47
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.number)
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 15b6f47

Please sign in to comment.