Skip to content

Commit

Permalink
Fix after rebase: dirtyRecursive
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Mar 26, 2024
1 parent 96c43ab commit 5b85307
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Iteration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ void Iteration::flush(internal::FlushParams const &flushParams)
m.second.flush(m.first, flushParams);
for (auto &species : particles)
species.second.flush(species.first, flushParams);
dirty() = false;
setDirty(false);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions src/Series.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ AdvanceStatus Series::advance(
}

bool old_dirty = iteration.dirty();
iteration.dirty() = true; // force flush() to open this
iteration.setDirty(true); // force flush() to open this

switch (mode)
{
Expand All @@ -2134,7 +2134,7 @@ AdvanceStatus Series::advance(
end,
{FlushLevel::CreateOrOpenFiles},
/* flushIOHandler = */ false);
iteration.dirty() = old_dirty;
iteration.setDirty(old_dirty);
break;
}

Expand Down

0 comments on commit 5b85307

Please sign in to comment.