allowing custom file parsing

This commit is contained in:
Daniel Lemire 2025-03-09 14:27:07 -04:00
parent 77cc847c84
commit 864e790d22

View File

@ -236,6 +236,11 @@ int main(int argc, char **argv) {
<< std::endl;
#endif
}
if(argc > 1) {
fileload(argv[1]);
return EXIT_SUCCESS;
}
fileload(std::string(BENCHMARK_DATA_DIR) + "/canada.txt");
fileload(std::string(BENCHMARK_DATA_DIR) + "/mesh.txt");
return EXIT_SUCCESS;
}