mirror of
https://github.com/Findus23/rebound-collisions.git
synced 2024-09-19 15:53:48 +02:00
fix typo in main_particle
This commit is contained in:
parent
96cb4854c8
commit
d396f5fcad
1 changed files with 1 additions and 1 deletions
2
merge.py
2
merge.py
|
@ -101,7 +101,7 @@ def merge_particles(sim: Simulation, ed: ExtraData):
|
|||
|
||||
# just called the more massive one the main particle to keep its type/name
|
||||
# Sun<->Protoplanet -> Sun
|
||||
main_particle = cp1.m if cp1.m > cp2.m else cp2
|
||||
main_particle = cp1 if cp1.m > cp2.m else cp2
|
||||
|
||||
projectile_wmf = ed.pd(cp1).water_mass_fraction
|
||||
target_wmf = ed.pd(cp2).water_mass_fraction
|
||||
|
|
Loading…
Reference in a new issue