Skip to content

Commit

Permalink
fix criterion in selecting fitting secondary mass
Browse files Browse the repository at this point in the history
  • Loading branch information
semaphoreP committed Aug 15, 2023
1 parent 5ffc5c0 commit 5240659
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions orbitize/system.py
Expand Up @@ -135,8 +135,10 @@ def __init__(self, num_secondary_bodies, data_table, stellar_or_system_mass,
self.track_planet_perturbs = (
self.fit_secondary_mass and
(
(len(self.radec[0]) + len(self.seppa[0] > 0) or
(self.num_secondary_bodies > 1)
((len(self.radec[0]) + len(self.seppa[0]) > 0) or
(self.num_secondary_bodies > 1) or
(hipparcos_IAD is not None) or
(gaia is not None)
)
)
)
Expand Down

0 comments on commit 5240659

Please sign in to comment.