Added assertion that input file was opened correctly

[SVN r55258]
This commit is contained in:
Jeremiah Willcock 2009-07-29 12:49:44 +00:00
parent 27e1fe603f
commit eede6c1338

View File

@ -33,6 +33,7 @@ int main(int argc, char* argv[])
// Open the METIS input file
std::ifstream in(filename);
assert (in.good());
graph::metis_reader reader(in);
// Load the graph using the default distribution