Commit b2bc1d65 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Only store previous time name if it is not at the current head

parent 5f7b62c5
......@@ -655,7 +655,10 @@ bool Foam::Time::writeObject
// Does the writeTime trigger purging?
if (writeTime_ && purgeWrite_)
if ( != timeName())
while (previousWriteTimes_.size() > purgeWrite_)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment