Skip to content

Commit 7fa9b17

Browse files
committed
Operator whitespace in Julia Verlet implementation
1 parent a5ecdd9 commit 7fa9b17

File tree

1 file changed

+1
-1
lines changed
  • contents/verlet_integration/code/julia

1 file changed

+1
-1
lines changed

contents/verlet_integration/code/julia/verlet.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function stormer_verlet(pos::Float64, acc::Float64, dt::Float64)
2424
prev_pos = temp_pos
2525

2626
# Because acceleration is constant, velocity is straightforward
27-
vel += acc*dt
27+
vel += acc * dt
2828
end
2929

3030
return time, vel

0 commit comments

Comments
 (0)