Commit 539af34f authored by Volker Springel's avatar Volker Springel
Browse files

fix problem that spurious additional snapshots can be created if code is...

fix problem that spurious additional snapshots can be created if code is interrupted right after snapshot dump
parent e5c6fb65
......@@ -224,6 +224,7 @@ int main(int argc, char **argv)
{
restart Restart{Sim.Communicator};
Restart.load(&Sim);
All.RestartFlag = RST_RESUME; // prevent that this is overwritten by All.RestartFlag in restart set
}
else
{
......
Markdown is supported
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