Skip to content

Commit

Permalink
Fix output shape for Orbit.theta
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed May 24, 2024
1 parent c976e79 commit 1745307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galpy/orbit/Orbits.py
Original file line number Diff line number Diff line change
Expand Up @@ -4092,7 +4092,7 @@ def theta(self, *args, **kwargs):
if self.dim() != 3:
raise AttributeError("Orbit must be 3D to use theta()")
else:
return numpy.arctan2(thiso[0], thiso[3])
return numpy.arctan2(thiso[0], thiso[3]).T

@physical_conversion("angle_deg")
@shapeDecorator
Expand Down

0 comments on commit 1745307

Please sign in to comment.