Skip to content

Commit

Permalink
rm some print statements in tests of actionAngle
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Feb 23, 2018
1 parent 161dbd0 commit 1abdba2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_actionAngle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,6 @@ def test_actionAngleStaeckel_basic_EccZmaxRperiRap_u0_c():
assert numpy.fabs(tzmax) < 10.**-16., 'Circular orbit in the MWPotential does not have zmax=0'
#Close-to-circular orbit
R,vR,vT,z,vz= 1.01,0.01,1.,0.01,0.01
print("Should be here")
te,tzmax,_,_= aAS.EccZmaxRperiRap(R,vR,vT,z,vz,u0=1.15)
assert numpy.fabs(te) < 10.**-2., 'Close-to-circular orbit in the MWPotential does not have small eccentricity'
assert numpy.fabs(tzmax) < 2.*10.**-2., 'Close-to-circular orbit in the MWPotential does not have small zmax'
Expand Down Expand Up @@ -1552,7 +1551,6 @@ def test_actionAngleStaeckel_wSpherical_conserved_actions_c():
pots= [lp,lpb,hp,jp,np,ip,pp,lp2,ppc,plp,psp,bp,scfp,scfzp,
msoftneedlep,msmlp,mgasmlp]
for pot in pots:
print(pot)
aAS= actionAngleStaeckel(pot=pot,c=True,delta=0.01)
obs= Orbit([1.1, 0.3, 1.2, 0.2,0.5,2.])
if not ext_loaded: #odeint is not as accurate as dopr54_c
Expand Down

0 comments on commit 1abdba2

Please sign in to comment.