Commit e9068185 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#820 Add debug safety in DevPrints to make sure not to overwrite a file.

parent 5b78981b
......@@ -124,7 +124,8 @@ namespace HappyHeart
oconv << ".m";
std::cout << "FILE = " << oconv.str() << std::endl;
assert(!FilesystemNS::File::DoExist(oconv.str()) && "A given file should be created once per run; "
"no overwriting allowed! Check you didn't name two different outputs with the same name.");
linear_algebra.View(MpiHappyHeart(),
oconv.str(),
......
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