mirror of
https://github.com/boostorg/graph.git
synced 2025-05-11 13:24:01 +00:00
Added assertion that input file was opened correctly
[SVN r55258]
This commit is contained in:
parent
27e1fe603f
commit
eede6c1338
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user