Skip to content

Commit

Permalink
JDs displayed in computer-readable ephems were shown to a greater pre…
Browse files Browse the repository at this point in the history
…cision than floats really support
  • Loading branch information
Bill-Gray committed Mar 23, 2023
1 parent c936b2e commit 2e66a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ephem0.cpp
Expand Up @@ -2897,7 +2897,7 @@ static int _ephemeris_in_a_file( const char *filename, const double *orbit,
snprintf_append( fake_line, sizeof( fake_line),
"|%18.14f|%+18.14f", ra * 15, dec);
}
snprintf( alt_buff, sizeof( alt_buff), "%18.10f ", curr_jd);
snprintf( alt_buff, sizeof( alt_buff), "%17.9f ", curr_jd);
if( computer_friendly)
strlcpy( buff, alt_buff, sizeof( buff));
else
Expand Down

0 comments on commit 2e66a84

Please sign in to comment.