aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp')
-rw-r--r--Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp b/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
index 294e78d36..c9ce3523f 100644
--- a/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
+++ b/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
@@ -59,7 +59,7 @@ ChargeOnEB::ChargeOnEB (std::string rd_name)
if (ParallelDescriptor::IOProcessor())
{
- if ( m_IsNotRestart )
+ if ( m_write_header )
{
// open file
std::ofstream ofs{m_path + m_rd_name + "." + m_extension, std::ofstream::out};