Skip to content

Commit

Permalink
REF fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Dec 27, 2020
1 parent 4c9e765 commit f4362c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meds/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +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(0.0)]).T

return rhat,phat,-1.0*that

Expand Down

0 comments on commit f4362c1

Please sign in to comment.