Skip to content
Snippets Groups Projects
Commit 26cb079f authored by davidebr's avatar davidebr
Browse files

Aestetics

parent dc193266
No related branches found
No related tags found
No related merge requests found
......@@ -583,7 +583,7 @@ FILE* PlumedMain::fopen(const char *path, const char *mode){
std::string ppathsuf=ppath+suffix;
FILE*fp=std::fopen(const_cast<char*>(ppathsuf.c_str()),const_cast<char*>(mmode.c_str()));
if(!fp) fp=std::fopen(const_cast<char*>(ppath.c_str()),const_cast<char*>(mmode.c_str()));
plumed_massert(fp,"file " + ppath + "cannot be found");
plumed_massert(fp,"file " + ppath + " cannot be found");
return fp;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment