Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fixed typo in planetid incrementation
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Aug 26, 2021
1 parent b0678b9 commit 40c58cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/swiftest/swiftest/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def solar_system_horizons(plname, idval, param, ephemerides_start_date, ds):
pvec = np.vstack([pvec, p7, p8, p9, p10, p11, p12])

if idval is None:
plid = np.array([planetid[key]+1], dtype=int)
plid = np.array([planetid[key]], dtype=int) + 1
else:
plid = np.array([idval]+1, dtype=int)

Expand Down

0 comments on commit 40c58cf

Please sign in to comment.