Skip to content

Commit e0b6683

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8d42621 commit e0b6683

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/test_potential.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8337,9 +8337,10 @@ def test_planarCompositePotential_turn_physical():
83378337

83388338
ro, vo = 8.0, 220.0
83398339
# Initialize with physical units ON so turn_physical_off has something to do
8340-
planar_combo = NFWPotential(ro=ro, vo=vo).toPlanar() + HernquistPotential(
8341-
ro=ro, vo=vo
8342-
).toPlanar()
8340+
planar_combo = (
8341+
NFWPotential(ro=ro, vo=vo).toPlanar()
8342+
+ HernquistPotential(ro=ro, vo=vo).toPlanar()
8343+
)
83438344

83448345
# Components should start with physical on
83458346
assert planar_combo[0]._roSet, "Component should have roSet=True initially"

0 commit comments

Comments
 (0)