Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jul 31, 2020
1 parent 05692db commit c4c9959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/test_dmatrix.py
Expand Up @@ -75,7 +75,7 @@ def test_slice(self):
X = rng.randn(100, 100)
y = rng.randint(low=0, high=3, size=100)
d = xgb.DMatrix(X, y)
fw = rng.randn(100)
fw = rng.uniform(100)
d.feature_weights = fw

eval_res_0 = {}
Expand Down

0 comments on commit c4c9959

Please sign in to comment.