Commit 7062d2b9 authored by Serrière Guillaume's avatar Serrière Guillaume

Add error log to test_accuracy.

Signed-off-by: default avatarSerrière Guillaume <guillaume.serriere@inria.fr>
parent 527baf97
......@@ -4,6 +4,7 @@
#include <iostream>
#include <cstring>
#include <cstdlib>
#include <cerrno>
using namespace std;
......@@ -56,6 +57,7 @@ int main (int argc, char** argv)
}
}
cout << "Error: Problem opening [" << argv[1] << "]\n";
cerr << "Error: " << strerror(errno);
return 2;
}
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