Skip to content

Commit

Permalink
Fix checking the unit compatibility between an actionAngle object and…
Browse files Browse the repository at this point in the history
… an orbit given to it
  • Loading branch information
jobovy committed Apr 22, 2020
1 parent 8b23dd6 commit 1c50c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galpy/actionAngle/actionAngle.py
Expand Up @@ -177,7 +177,7 @@ def _parse_eval_args(self,*args,**kwargs):
self._eval_phi= phi
else: # Orbit instance
if not kwargs.get('_noOrbUnitsCheck',False):
physical_compatible(self,args[0])
self._check_consistent_units_orbitInput(args[0])
if len(args) == 2:
orb= args[0](args[1])
else:
Expand Down

0 comments on commit 1c50c09

Please sign in to comment.