Skip to content

Commit

Permalink
Fix to commit aee89e9 from last week : I zeroed out the wrong variabl…
Browse files Browse the repository at this point in the history
…es in symplectic_6().
  • Loading branch information
Bill-Gray committed Jun 14, 2023
1 parent 88e6eb8 commit 5f90971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ int symplectic_6( double jd, ELEMENTS *ref_orbit, double *vect,
{
assert( fabs( jd) < 1e+9);
for( j = 3; j < 6; j++)
vect[j] = 0.;
deriv[j] = 0.;
calc_derivatives( jd, vect, deriv, ref_orbit->central_obj);
for( j = 3; j < 6; j++)
vect[j] += dt * d6[i] * deriv[j];
Expand Down

0 comments on commit 5f90971

Please sign in to comment.