Skip to content

Commit

Permalink
We had a misalignment of text columns for negative G (asteroid slope …
Browse files Browse the repository at this point in the history
…parameter) values.
  • Loading branch information
Bill-Gray committed Jun 8, 2023
1 parent a548fcf commit 3cd8dae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion elem_out.cpp
Expand Up @@ -528,7 +528,7 @@ static int elements_in_mpcorb_format( char *buff, const char *packed_desig,
if( 12 == strlen( packed_desig2)) /* fix cases where number & */
packed_desig2[5] = '\0'; /* provisional ID are both set; */
packed_desig2[8] = '\0'; /* prevent overrun otherwise */
snprintf_err( buff, mpcorb_line_len, "%-8s%5.2f %4.2f ", packed_desig2, elem->abs_mag,
snprintf_err( buff, mpcorb_line_len, "%-8s%5.2f %5.2f ", packed_desig2, elem->abs_mag,
asteroid_magnitude_slope_param);
day = (int)( decimal_day_to_dmy( elem->epoch, &year,
&month, CALENDAR_JULIAN_GREGORIAN) + .0001);
Expand Down
4 changes: 2 additions & 2 deletions miscell.cpp
Expand Up @@ -663,6 +663,6 @@ bool pattern_match(const char* pattern, const char* string)
const char *find_orb_version_jd( double *jd)
{
if( jd)
*jd = 2460087.5;
return( "2023 May 23");
*jd = 2460103.5;
return( "2023 Jun 08");
}

0 comments on commit 3cd8dae

Please sign in to comment.