1.1 --- a/src/test/preflow_test.cc Fri Mar 11 18:54:18 2005 +0000
1.2 +++ b/src/test/preflow_test.cc Wed Mar 16 07:50:20 2005 +0000
1.3 @@ -86,12 +86,10 @@
1.4 typedef Preflow<Graph, int> PType;
1.5
1.6 std::string f_name;
1.7 - if( getenv("srcdir") ) {
1.8 - f_name = std::string(getenv("srcdir")) + "/preflow_graph.dim";
1.9 - }
1.10 - else {
1.11 - f_name = "preflow_graph.dim";
1.12 - }
1.13 + if( getenv("srcdir") )
1.14 + f_name = std::string(getenv("srcdir"));
1.15 + else f_name = ".";
1.16 + f_name += "/preflow_graph.dim";
1.17
1.18 std::ifstream file(f_name.c_str());
1.19