We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d004b2 commit 1260380Copy full SHA for 1260380
include/SZ3/utils/FileUtil.hpp
@@ -46,7 +46,7 @@ namespace SZ {
46
std::ifstream fin(file, std::ios::binary);
47
if (!fin) {
48
std::cout << " Error, Couldn't find the file: " << file << "\n";
49
- return;
+ exit(0);
50
}
51
fin.seekg(0, std::ios::end);
52
const size_t num_elements = fin.tellg() / sizeof(Type);
@@ -61,7 +61,7 @@ namespace SZ {
61
62
63
64
- return 0;
65
66
67
0 commit comments