Skip to content

Commit 864e790

Browse files
committed
allowing custom file parsing
1 parent 77cc847 commit 864e790

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

benchmarks/benchmark.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ int main(int argc, char **argv) {
236236
<< std::endl;
237237
#endif
238238
}
239+
if(argc > 1) {
240+
fileload(argv[1]);
241+
return EXIT_SUCCESS;
242+
}
239243
fileload(std::string(BENCHMARK_DATA_DIR) + "/canada.txt");
240244
fileload(std::string(BENCHMARK_DATA_DIR) + "/mesh.txt");
245+
return EXIT_SUCCESS;
241246
}

0 commit comments

Comments
 (0)