Skip to content

Commit

Permalink
Erroneous minus sign inserted. Dunno what I was thinking there...
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Gray committed Apr 15, 2024
1 parent 9fd672b commit 38c6afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion showelem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ int DLL_FUNC elements_in_mpc_format( char *obuff, const size_t obuff_size,
*obuff = '\0'; /* z won't fit or is meaninglessly large */
else
snprintf_err( obuff, endptr - obuff, "z%*.*f",
n_digits_to_show + 5, n_digits_to_show, -1. / elem->major_axis);
n_digits_to_show + 5, n_digits_to_show, 1. / elem->major_axis);
}
else
{
Expand Down

0 comments on commit 38c6afa

Please sign in to comment.