Skip to content

Commit

Permalink
print gradop test to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sichao25 committed Apr 8, 2024
1 parent 1d4d6ba commit bf9f0ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def test_gradop():
expected_data = np.array([-1, 1, 1, -1, -1, 1, 1, -1])
expected_indices = np.array([0, 1, 0, 1, 1, 2, 1, 2])
expected_indptr = np.array([0, 2, 4, 6, 8])
print(grad.A)
assert np.all(grad.data == expected_data)
assert np.all(grad.indices == expected_indices)
assert np.all(grad.indptr == expected_indptr)
Expand Down

0 comments on commit bf9f0ac

Please sign in to comment.