Skip to content

Commit

Permalink
Update util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Pavlick committed Aug 12, 2019
1 parent 78ef9b2 commit 65ef88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymap3d/util.py
Expand Up @@ -25,7 +25,7 @@ def sph2cart(az: float, el: float, r: float) -> Tuple[float, float, float]:
x = rcos_theta * cos(az)
y = rcos_theta * sin(az)
z = r * sin(el)
return x, y, z
return x, y, z

def wrapToPi(x: float) -> float:
'''wraps angles to [-pi, pi)'''
Expand Down

0 comments on commit 65ef88f

Please sign in to comment.