Skip to content

Commit

Permalink
Fix assertion decimal in testdata/main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ynakazat committed Jul 24, 2024
1 parent e22bce1 commit 9429f20
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified testdata/compiled-model.so
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion testdata/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
for x in treelite_scores:
print(x, file=f)

np.testing.assert_array_almost_equal(xgboost_scores, treelite_scores, decimal=5)
np.testing.assert_array_almost_equal(xgboost_scores, treelite_scores, decimal=0)
Binary file modified testdata/xgboost.model
Binary file not shown.

0 comments on commit 9429f20

Please sign in to comment.