This commit is contained in:
Francesco Gatti
2017-08-11 15:20:15 +00:00
parent 3b2f062dd9
commit 2d7563d27c
+1 -1
View File
@@ -15,7 +15,7 @@ void printCenteredTitle(const char *title, char fill, int dim) {
bool fileExist(const char *fname) {
std::ifstream dataFile (fname, std::ios::in | std::ios::binary);
return dataFile;
return (bool) dataFile;
}