Skip to content

Commit

Permalink
Fix typos in the example documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
duncaneddy committed Feb 2, 2020
1 parent e933437 commit 936d17d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/src/tutorials/orbit_propagation_example.md
Expand Up @@ -30,8 +30,16 @@ Next, simulate the orbit:
T = orbit_period(oe0[1])
epcf = epc0 + T

# Create an EarthInertialState orbit propagagator
orb = EarthInertialState(epc0, eci0, dt=1.0,
mass=1.0, n_grav=0, m_grav=0,
drag=false, srp=false,
moon=false, sun=false,
relativity=false
)

# Propagate the orbit
t, epc, eci = simulate(orb, epcf, timestep=1, dtmax=1)
t, epc, eci = sim!(orb, epcf)
```

Putting it all together we have:
Expand Down

0 comments on commit 936d17d

Please sign in to comment.