aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp')
-rw-r--r--Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp b/Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp
index e45577c36..0adfc1ba9 100644
--- a/Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp
+++ b/Source/Diagnostics/ReducedDiags/ParticleMomentum.cpp
@@ -52,7 +52,7 @@ ParticleMomentum::ParticleMomentum (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};