Skip to content

Commit

Permalink
Fix some spacing issues accidentally introduced in the merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Apr 30, 2020
1 parent 886b5fc commit 663f9d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions galpy/actionAngle/actionAngleAdiabatic.py
Expand Up @@ -70,7 +70,7 @@ def __init__(self,*args,**kwargs):
# Setup actionAngleSpherical object for calculations in Python
# (if they become necessary)
if _dim(self._pot) == 3:
thispot= toPlanarPotential(self._pot)
thispot= toPlanarPotential(self._pot)
else:
thispot= self._pot
self._gamma= 0.
Expand Down Expand Up @@ -148,7 +148,7 @@ def _evaluate(self,*args,**kwargs):
numpy.nan,numpy.nan)
#Set up the actionAngleVertical object
if _dim(self._pot) == 3:
thisverticalpot= toVerticalPotential(self._pot,R[0])
thisverticalpot= toVerticalPotential(self._pot,R[0])
aAV= actionAngleVertical(pot=thisverticalpot)
Jz= aAV(z[0],vz[0])
else: #2D in-plane
Expand Down
2 changes: 1 addition & 1 deletion galpy/actionAngle/actionAngleVertical.py
Expand Up @@ -185,7 +185,7 @@ def _actionsFreqsAngles(self,*args,**kwargs):
-evaluatelinearPotentials(self._pot,xi,
use_physical=False))),
0.,xmax)[0]/numpy.pi
Omega[ii]= nu.pi/2./integrate.quad(\
Omega[ii]= numpy.pi/2./integrate.quad(\
lambda t: 2.*t/numpy.sqrt(2.*(E\
-evaluatelinearPotentials(self._pot,
xmax-t**2.,
Expand Down

0 comments on commit 663f9d6

Please sign in to comment.