Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
fixup! ensure physical turned on
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Starkman (@nstarman) <nstarkman@protonmail.com>
  • Loading branch information
nstarman committed Sep 11, 2021
1 parent ad9d12e commit 37fce16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discO/plugin/galpy/tests/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def setup_class(cls):
# make potential
cls.mass = 1e12 * u.solMass

hernquist_pot = HernquistPotential(amp=2 * cls.mass, ro=8*u.kpc, vo=220*u.km/u.s)
hernquist_pot = HernquistPotential(amp=2 * cls.mass, ro=8 * u.kpc, vo=220 * u.km / u.s)
hernquist_pot.turn_physical_on(ro=8 * u.kpc, vo=220 * u.km / u.s)
cls.potential = hernquist_pot

Expand Down Expand Up @@ -155,7 +155,7 @@ def setup_class(cls):
# make potential
cls.mass = 1e12 * u.solMass

hernquist_pot = HernquistPotential(amp=2 * cls.mass, ro=8*u.kpc, vo=220*u.km/u.s)
hernquist_pot = HernquistPotential(amp=2 * cls.mass, ro=8 * u.kpc, vo=220 * u.km / u.s)
hernquist_pot.turn_physical_on(ro=8 * u.kpc, vo=220 * u.km / u.s)
cls.potential = hernquist_pot

Expand Down

0 comments on commit 37fce16

Please sign in to comment.