Skip to content
Snippets Groups Projects
Commit 356f6642 authored by Martin Larralde's avatar Martin Larralde
Browse files

Make `omp_get_thread_num` always return 1 in `utils.cpp` to silence loggers

parent bd587ede
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ skch::Map* new_map_with_result_vector(
}
int omp_get_thread_num(void) {
return 0;
return 1; // Make the logger shut up.
}
int omp_get_num_threads(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment