Skip to content

Commit

Permalink
Merge pull request #48 from esheldon/beckermr-patch-1
Browse files Browse the repository at this point in the history
REF fix deprecation warning
  • Loading branch information
beckermr authored Jan 4, 2021
2 parents 4c9e765 + 4b9467a commit 1a4da99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meds/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ def thetaphi_to_unitvecs_ruv(theta,phi):

rhat = numpy.array([sint*cosp,sint*sinp,cost]).T
that = numpy.array([cost*cosp,cost*sinp,-1.0*sint]).T
phat = numpy.array([-1.0*sinp,cosp,0.0]).T
phat = numpy.array([-1.0*sinp,cosp,numpy.zeros_like(sinp)]).T

return rhat,phat,-1.0*that


0 comments on commit 1a4da99

Please sign in to comment.