Skip to content

Commit

Permalink
Deprecate calczmax function in actionAngleAdiabatic, because no longe…
Browse files Browse the repository at this point in the history
…r used; use EccZmaxRperiRap instead
  • Loading branch information
jobovy committed Dec 26, 2017
1 parent 9ecd137 commit 4fee387
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galpy/actionAngle_src/actionAngleAdiabatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def calcRapRperi(self,*args,**kwargs):
gamma=self._gamma)
return aAAxi.calcRapRperi(**kwargs)

def calczmax(self,*args,**kwargs):
def calczmax(self,*args,**kwargs): #pragma: no cover
"""
NAME:
calczmax
Expand All @@ -306,6 +306,7 @@ def calczmax(self,*args,**kwargs):
HISTORY:
2012-06-01 - Written - Bovy (IAS)
"""
warnings.warn("actionAngleAdiabatic.calczmax function will soon be deprecated; please contact galpy's maintainer if you require this function")
#Set up the actionAngleAxi object
self._parse_eval_args(*args)
if isinstance(self._pot,list):
Expand Down

0 comments on commit 4fee387

Please sign in to comment.