Skip to content

Commit

Permalink
Update voting matrix integer & float typing for numpy compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
dotpyu authored Apr 10, 2024
1 parent 3ffc1d8 commit 04e8890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_all_formats(matrix):
other_formats = [
matrix.todense(),
matrix.todense().tolist(),
matrix.todense().astype(np.float),
matrix.todense().astype(np.float64),
matrix.tocoo(),
matrix.tocsc(),
matrix.todia(),
Expand Down

0 comments on commit 04e8890

Please sign in to comment.