From f85e67ca2f75b939d85de2a92be11214f62ea7ef Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 15 Aug 2017 12:02:06 -0500 Subject: Don't include benchmark result that was canceled Signed-off-by: Burt P --- modules/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/benchmark.c') 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; -- cgit v1.2.3