Skip to content

Commit

Permalink
Merge pull request #11 from spzwart/master
Browse files Browse the repository at this point in the history
Changed 1100|MSun to 110|MSun in converter
  • Loading branch information
ipelupessy committed Oct 20, 2015
2 parents 87d58b0 + 626be4c commit 1865e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/syllabus/star_to_hydro.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def convert_star_to_hydro_model(M, t_end):
return sph_particles

if __name__ in ("__main__", "__plot__"):
sph_particles = convert_star_to_hydro_model(2.0|units.MSun, 1100|units.Myr)
sph_particles = convert_star_to_hydro_model(2.0|units.MSun, 110|units.Myr)
native_plot.figure(figsize = (10, 10), dpi = 50)
sph_particles_plot(sph_particles)
native_plot.show()

0 comments on commit 1865e1c

Please sign in to comment.