From 7318dd06d352ec1432fbf61dba533b9c8c822855 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 26 Jun 2020 14:04:38 -0400 Subject: [PATCH] simplify --- src/thermo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/thermo.cpp b/src/thermo.cpp index 52b1813152..5aebef88af 100644 --- a/src/thermo.cpp +++ b/src/thermo.cpp @@ -316,8 +316,7 @@ void Thermo::header() std::string hdr; for (int i = 0; i < nfield; i++) hdr += keyword[i] + std::string(" "); - hdr += "\n"; - if (me == 0) utils::logmesg(lmp,hdr); + if (me == 0) utils::logmesg(lmp,hdr+"\n"); } /* ---------------------------------------------------------------------- */