Commit 877e715c authored by Jens Korinth's avatar Jens Korinth

Bugfix in output file name of tapasco_benchmark

parent 3190c491
......@@ -185,8 +185,8 @@ int main(int argc, const char *argv[]) {
// dump it
stringstream ss;
ss << platform << ".benchmark";
cout << "Dumping benchmark Json to " << (argc >= 2 ? argv[1] : ss.str()) << endl;
ofstream f(argc >= 2 ? argv[1] : ss.str());
cout << "Dumping benchmark Json to " << (argc >= 3 ? argv[2] : ss.str()) << endl;
ofstream f(argc >= 3 ? argv[2] : ss.str());
f << benchmark.dump();
f.close();
} catch (const char *msg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment