fix bug when applying floating point output formatting to integers

This commit is contained in:
Axel Kohlmeyer 2020-08-04 19:10:19 -04:00
parent 67a9856e0c
commit 8558e9bd45
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 2 deletions

View File

@ -350,8 +350,8 @@ void Replicate::command(int narg, char **arg)
MPI_Allreduce(&n, &size_buf_all, 1, MPI_INT, MPI_SUM, world);
if (me == 0) {
auto mesg = fmt::format(" bounding box image = ({:.8} {:.8} {:.8}) "
"to ({:.8} {:.8} {:.8})\n",
auto mesg = fmt::format(" bounding box image = ({} {} {}) "
"to ({} {} {})\n",
_imagelo[0],_imagelo[1],_imagelo[2],
_imagehi[0],_imagehi[1],_imagehi[2]);
mesg += fmt::format(" bounding box extra memory = {:.2f} MB\n",