Skip to content

Commit

Permalink
Fixed bug in WritePrecATimeDistRot. Now the DistorbDistrotEqtide test…
Browse files Browse the repository at this point in the history
… sims are memcheck clean.
  • Loading branch information
RoryBarnes committed Apr 17, 2024
1 parent 564bcda commit c9c998e
Show file tree
Hide file tree
Showing 3 changed files with 1,165 additions and 1,440 deletions.
2 changes: 1 addition & 1 deletion src/distrot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ void WritePrecATimeDistRot(BODY *body, CONTROL *control, OUTPUT *output,
}

if (dDeriv == 0) {
dDeriv = -1;
*dTmp = -1;
} else {
*dTmp = fabs(2 * PI / dDeriv);
}
Expand Down
Loading

0 comments on commit c9c998e

Please sign in to comment.