Commit c75b6622 authored by GILLES Sebastien's avatar GILLES Sebastien

#1461 Fix potential issue in PetscVectorIO test.

parent e3c041d1
......@@ -135,6 +135,8 @@ namespace MoReFEM::TestNS::PetscNS::VectorIONS
FilesystemNS::File::Remove(ascii_file, __FILE__, __LINE__);
}
if (mpi.IsRootProcessor())
{
{
const auto binary_file = GetProgramWiseBinaryFile();
if (FilesystemNS::File::DoExist(binary_file))
......@@ -147,6 +149,7 @@ namespace MoReFEM::TestNS::PetscNS::VectorIONS
FilesystemNS::File::Remove(ascii_file, __FILE__, __LINE__);
}
}
}
void Model::Forward()
......
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