Skip to content

Commit

Permalink
Merge pull request #217 from ChuckHastings/bug_pagerank_needs_relativ…
Browse files Browse the repository at this point in the history
…e_tolerance

Set relative tolerance on test
  • Loading branch information
raydouglass authored Feb 12, 2021
2 parents ef03dcd + 0411f46 commit 46e2587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cugraph/test_pagerank.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ def test_pagerank() :
assert len(expectedPageRanks) == len(gdf_page["pagerank"])
for (actual, expected) in zip(gdf_page["pagerank"].to_pandas(),
expectedPageRanks):
assert actual == pytest.approx(expected)
assert actual == pytest.approx(expected, rel=1e-3)

0 comments on commit 46e2587

Please sign in to comment.