Skip to content

Commit

Permalink
fix for world point_gravity
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Oct 7, 2024
1 parent eddfe06 commit 412510d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const world = World(; name = :world)

"Compute the gravity acceleration, resolved in world frame"
function gravity_acceleration(r)
inner_gravity(GlobalScope(world.point_gravity), GlobalScope(world.mu), GlobalScope(world.g_inner), GlobalScope.(collect(world.n_inner)), collect(r))
inner_gravity(GlobalScope(world.point_gravity_inner), GlobalScope(world.mu_inner), GlobalScope(world.g_inner), GlobalScope.(collect(world.n_inner)), collect(r))
end

function inner_gravity(point_gravity, mu, g, n, r)
Expand Down

0 comments on commit 412510d

Please sign in to comment.