Skip to content

Commit

Permalink
Only use noGL test in potential tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Jun 16, 2016
1 parent c7b322c commit a9d7d60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nose/test_potential.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def test_forceAsDeriv_potential():
pots.append('mockMovingObjectExplSoftPotential')
pots.append('oblateHernquistPotential')
pots.append('oblateNFWPotential')
pots.append('oblatenoGLNFWPotential')
pots.append('oblateJaffePotential')
pots.append('prolateHernquistPotential')
pots.append('prolateNFWPotential')
Expand Down Expand Up @@ -256,6 +257,7 @@ def test_2ndDeriv_potential():
pots.append('mockFlatEllipticalDiskPotential') #for evaluate w/ nonaxi lists
pots.append('oblateHernquistPotential') # in case these are ever implemented
pots.append('oblateNFWPotential')
pots.append('oblatenoGLNFWPotential')
pots.append('oblateJaffePotential')
pots.append('prolateHernquistPotential')
pots.append('prolateNFWPotential')
Expand Down Expand Up @@ -1899,6 +1901,10 @@ def __init__(self):
TriaxialHernquistPotential.__init__(self,normalize=1.,b=1.,c=.2)
return None
class oblateNFWPotential(TriaxialNFWPotential):
def __init__(self):
TriaxialNFWPotential.__init__(self,normalize=1.,b=1.,c=.2)
return None
class oblatenoGLNFWPotential(TriaxialNFWPotential):
def __init__(self):
TriaxialNFWPotential.__init__(self,normalize=1.,b=1.,c=.2,glorder=None)
return None
Expand Down

0 comments on commit a9d7d60

Please sign in to comment.