Skip to content

Commit

Permalink
Force returning quantity for PA
Browse files Browse the repository at this point in the history
  • Loading branch information
e-koch committed Aug 15, 2020
1 parent 6de6565 commit 781b64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio_beam/utils.py
Expand Up @@ -232,7 +232,7 @@ def transform_ellipse(major, minor, pa, x_scale, y_scale):
# Transformed to a circle
trans_major = 1 / c1
trans_minor = trans_major
trans_pa = 0
trans_pa = 0. * u.rad

elif c1 > c2:
# c1 and c2 are the major and minor axes; use j1 to get PA
Expand Down

0 comments on commit 781b64e

Please sign in to comment.