We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5464f5 commit 44f3f89Copy full SHA for 44f3f89
src/MPIMCI.hpp
@@ -47,6 +47,8 @@ namespace MPIMCI
47
std::ifstream seedfile;
48
seedfile.open(filename);
49
50
+ if (!seedfile.good()) {throw std::runtime_error("Random seed file could not be found.");}
51
+
52
for (int i=0; i<offset; ++i) {
53
if (seedfile.eof()) {throw std::runtime_error("Chosen seed offset is already larger than the number of seeds in seed file.");}
54
uint_fast64_t skip;
0 commit comments