Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sisl/SatelliteDynamics.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
duncaneddy committed Jul 18, 2020
2 parents 516bf5d + 2f78993 commit b3b7b46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
jobs:
TagBot:
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions src/orbit_dynamics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ function spherical_harmonic_gravity(r::Array{<:Real, 1}, coef::Array{<:Real, 2},
z0 = r_ref * r[3] / r_sqr

# Initialize Intermediary Matrices
V = zeros(Float64, n_max+2, n_max+2)
W = zeros(Float64, n_max+2, n_max+2)
V = zeros(eltype(r), n_max+2, n_max+2)
W = zeros(eltype(r), n_max+2, n_max+2)

# Calculate zonal terms V(n, 0). Set W(n,0)=0.0
V[0+1, 0+1] = r_ref /sqrt(r_sqr)
Expand Down Expand Up @@ -727,4 +727,4 @@ function accel_relativity(x::Array{<:Real, 1})
a_rel = GM_EARTH/r2 * ( (4*GM_EARTH/(c2*norm_r) - v2/c2)*er + 4*v2/c2*dot(er, ev)*ev)

return a_rel
end
end

2 comments on commit b3b7b46

@duncaneddy
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Changelog [0.4.1] - 2020-07-17

Fixed

  • Updated StaticArrays dependency to allow compatibility.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/18134

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" b3b7b460308fe4af59f1be753131c51350471c78
git push origin v0.4.1

Please sign in to comment.