From 55f5f74c4f7b5b99e0110e5c7a158fd85bb20cc2 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Thu, 13 Feb 2020 14:47:22 -0700 Subject: [PATCH] Fix extra newline in EndOfDataFormat for non-eio outputs re: @Myoldmopar --- src/EnergyPlus/SimulationManager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EnergyPlus/SimulationManager.cc b/src/EnergyPlus/SimulationManager.cc index a3147b76db9..e6f26795ee8 100644 --- a/src/EnergyPlus/SimulationManager.cc +++ b/src/EnergyPlus/SimulationManager.cc @@ -1729,7 +1729,7 @@ namespace SimulationManager { // na // SUBROUTINE PARAMETER DEFINITIONS: - static constexpr auto EndOfDataFormat("End of Data\n"); // Signifies the end of the data block in the output file + static constexpr auto EndOfDataFormat("End of Data"); // Signifies the end of the data block in the output file // INTERFACE BLOCK SPECIFICATIONS: // na @@ -1874,7 +1874,7 @@ namespace SimulationManager { } // Close the Initialization Output File - print(outputFiles.eio, EndOfDataFormat); + print(outputFiles.eio, "{}\n", EndOfDataFormat); outputFiles.eio.close(); // Close the Meters Output File