From 3b9d50a487a273ecad6a8793997955ba9d4cb444 Mon Sep 17 00:00:00 2001 From: Charles Hastings Date: Mon, 6 Nov 2023 18:26:14 -0800 Subject: [PATCH] change tolerance for HITS test --- python/cugraph/cugraph/tests/link_analysis/test_hits.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/cugraph/cugraph/tests/link_analysis/test_hits.py b/python/cugraph/cugraph/tests/link_analysis/test_hits.py index 1c5a135e944..fcfd8cc5318 100644 --- a/python/cugraph/cugraph/tests/link_analysis/test_hits.py +++ b/python/cugraph/cugraph/tests/link_analysis/test_hits.py @@ -38,7 +38,11 @@ def setup_function(): fixture_params = gen_fixture_params_product( (datasets, "graph_file"), ([50], "max_iter"), - ([1.0e-6], "tol"), + # FIXME: Changed this from 1.0e-6 to 1.0e-5. NX defaults to + # FLOAT64 computation, cuGraph C++ defaults to whatever the edge weight + # is, cugraph python defaults that to FLOAT32. Does not converge at + # 1e-6 for larger graphs and FLOAT32. + ([1.0e-5], "tol"), )