Skip to content

Commit

Permalink
Adds TODO warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cadojo committed Dec 1, 2024
1 parent f556fbc commit 3aacb9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/potentials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ function Bovy2014(; name = :BovyMilkyWayPotential, kwargs...)

u = [x, y, z]
du = [ẋ, ẏ, ż]
grad(sys) = Symbolics.gradient(sys.eqs[1].rhs, [x, y, z])

grad(sys) = Symbolics.gradient(sys.eqs[1].rhs, [x, y, z]) # TODO remove manual indexing

eqs = vcat(
Φ ~ disk.Φ + bulge.Φ + halo.Φ,
Expand Down

0 comments on commit 3aacb9f

Please sign in to comment.