diff options
-rw-r--r-- | modules/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c index 45f74ecd..2159fffb 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -231,7 +231,7 @@ static gchar *__benchmark_include_results(gdouble result, moreinfo_del_with_prefix("BENCH"); - if (result != 0.0) { + if (result > 0.0) { temp = module_call_method("devices::getProcessorCount"); n_threads = temp ? atoi(temp) : 1; g_free(temp); temp = NULL; |