Skip to content

Commit

Permalink
Revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
stanmart committed Sep 20, 2024
1 parent 104c7a7 commit 22e4318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_split_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@ def test_matvec(n_rows):
"category"
)
mat = from_pandas(X, cat_threshold=0)
np.testing.assert_allclose(mat.matvec(np.ones(mat.shape[1])), n_cols)
np.testing.assert_allclose(mat.matvec(np.array(mat.shape[1] * [1])), n_cols)

0 comments on commit 22e4318

Please sign in to comment.