reduce excess precision in some output data

This commit is contained in:
Axel Kohlmeyer
2020-06-30 00:37:32 -04:00
parent 911b95fdc9
commit 7488f22981
2 changed files with 8 additions and 6 deletions

View File

@ -304,7 +304,8 @@ Lattice::Lattice(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
// print lattice spacings
if (comm->me == 0)
utils::logmesg(lmp,fmt::format("Lattice spacing in x,y,z = {} {} {}\n",
utils::logmesg(lmp,fmt::format("Lattice spacing in x,y,z = "
"{:.8g} {:.8g} {:.8g}\n",
xlattice,ylattice,zlattice));
}