Skip to content

Commit

Permalink
Merge branch 'gpu_hamming' of https://github.com/felixpetschko/scirpy
Browse files Browse the repository at this point in the history
…into gpu_hamming
  • Loading branch information
felixpetschko committed Feb 19, 2025
2 parents 5c5b80c + d49346a commit 2bf03ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scirpy/ir_dist/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ def calc_block_gpu(
the already calculated blocks.
Current number: {num_elements}, Maximum number: {np.iinfo(np.int32).max}.
Consider choosing a smaller cutoff to resolve this issue."""

result_sparse = result_blocks[0]
for i in range(1, len(result_blocks)):
result_sparse += result_blocks[i]
Expand Down

0 comments on commit 2bf03ab

Please sign in to comment.